fceux now writes config direcoty as soon as it starts whether a rom is
loaded or not [[Split portion of a mixed commit.]]
This commit is contained in:
parent
d852574c62
commit
62629b9b00
|
@ -413,11 +413,15 @@ SDL_GL_LoadLibrary(0);
|
|||
|
||||
// Initialize the configuration system
|
||||
g_config = InitConfig();
|
||||
|
||||
if(!g_config) {
|
||||
SDL_Quit();
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
// This is here so that a default fceu.cfg will be created on first
|
||||
// run, even without a valid ROM to play.
|
||||
g_config->save();
|
||||
// initialize the infrastructure
|
||||
error = FCEUI_Initialize();
|
||||
if(error != 1) {
|
||||
|
|
Loading…
Reference in New Issue