X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Fmain.c;h=e947b43c13de66566b3e9f7af3efe8e29f805119;hb=960a8e2716349f9a7df6cca9b6e8e6b0724fe7ba;hp=bf3069c0015304058d5dc3cc9271f71be723ba8b;hpb=30d5518a0b02afafea4ced92f991838b031d0aad;p=libpicofe.git diff --git a/psp/main.c b/psp/main.c index bf3069c..e947b43 100644 --- a/psp/main.c +++ b/psp/main.c @@ -33,6 +33,7 @@ int pico_main(void) { lprintf("\nPicoDrive v" VERSION " " __DATE__ " " __TIME__ "\n"); psp_init(); + emu_prepareDefaultConfig(); emu_ReadConfig(0, 0); emu_Init(); menu_init(); @@ -49,7 +50,7 @@ int pico_main(void) #ifndef GPROF menu_loop(); #else - strcpy(romFileName, currentConfig.lastRomFile); + strcpy(romFileName, lastRomFile); engineState = PGS_ReloadRom; #endif break;