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
|
// Initialize the configuration system
|
||||||
g_config = InitConfig();
|
g_config = InitConfig();
|
||||||
|
|
||||||
if(!g_config) {
|
if(!g_config) {
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
return -1;
|
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
|
// initialize the infrastructure
|
||||||
error = FCEUI_Initialize();
|
error = FCEUI_Initialize();
|
||||||
if(error != 1) {
|
if(error != 1) {
|
||||||
|
|
Loading…
Reference in New Issue