Skip to content

Commit

Permalink
Merge pull request #362 from Enverex/patch-1
Browse files Browse the repository at this point in the history
Save location in the playlist when launching a game
  • Loading branch information
mickelson committed Jun 25, 2017
2 parents 035cca8 + 0ce2dad commit 7a7afa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ int main(int argc, char *argv[])
else if (( launch_game ) else if (( launch_game )
&& ( !soundsys.is_sound_event_playing( FeInputMap::Select ) )) && ( !soundsys.is_sound_event_playing( FeInputMap::Select ) ))
{ {
feSettings.save_state();
const std::string &emu_name = feSettings.get_rom_info( 0, 0, FeRomInfo::Emulator ); const std::string &emu_name = feSettings.get_rom_info( 0, 0, FeRomInfo::Emulator );
if ( emu_name.compare( 0, 1, "@" ) == 0 ) if ( emu_name.compare( 0, 1, "@" ) == 0 )
{ {
Expand Down

0 comments on commit 7a7afa5

Please sign in to comment.