X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fcommon%2Fmain.c;h=e0b71dad1b20c00c0c71d8dba8aadc9f33b14815;hb=refs%2Ftags%2Fr1;hp=bc2ef06d6f7149e452dd4634c7a32209c6c1fd21;hpb=88e59df3676d6f36fd52e30f32624f49c7b0a355;p=fceu.git 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)