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:
punkrockguy318 2008-08-11 04:26:37 +00:00
parent d852574c62
commit 62629b9b00
1 changed files with 5 additions and 1 deletions

View File

@ -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) {