gtk: set lastOpenFile when launching from commandline

(this was causing issues with hardReset)
This commit is contained in:
punkrockguy318 2011-03-19 20:03:14 +00:00
parent 968dd77ccf
commit 6c2ec61e60
1 changed files with 3 additions and 0 deletions

View File

@ -746,6 +746,9 @@ int main(int argc, char *argv[])
SDL_Quit();
return -1;
}
g_config->setOption("SDL.LastOpenFile", argv[romIndex]);
g_config->save();
}
// movie playback