X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fcommon%2Fmain.c;fp=drivers%2Fcommon%2Fmain.c;h=e0b71dad1b20c00c0c71d8dba8aadc9f33b14815;hp=bc2ef06d6f7149e452dd4634c7a32209c6c1fd21;hb=158d88bade9b4fc038e1c9cee3924f3c89a70caa;hpb=88e59df3676d6f36fd52e30f32624f49c7b0a355 diff --git a/drivers/common/main.c b/drivers/common/main.c index bc2ef06..e0b71da 100644 --- a/drivers/common/main.c +++ b/drivers/common/main.c @@ -229,6 +229,10 @@ static void LoadLLGN(void) lastLoadedGameName[len] = 0; fclose(f); } + else + { + platform_get_def_rompath(lastLoadedGameName, sizeof(lastLoadedGameName)); + } } static void SaveLLGN(void)