gtk: set lastOpenFile when launching from commandline
(this was causing issues with hardReset)
This commit is contained in:
parent
968dd77ccf
commit
6c2ec61e60
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue