X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Fmain.c;h=606ca02992dbc087615dcd9cfb48f59feeba620c;hb=703e4c7bbb2cfd549797e2092e4d863547b3e87c;hp=8d5fbf45a5ca5475742101915c5826ca422aed61;hpb=2951214ea65ce2e2ac40671511b8d5a9ea2d2842;p=libpicofe.git diff --git a/psp/main.c b/psp/main.c index 8d5fbf4..606ca02 100644 --- a/psp/main.c +++ b/psp/main.c @@ -2,13 +2,14 @@ #include "emu.h" #include "menu.h" #include "../common/menu.h" +#include "../common/emu.h" #include "../common/lprintf.h" int main() { psp_init(); -// emu_ReadConfig(0, 0); + emu_ReadConfig(0, 0); emu_Init(); menu_init(); @@ -23,21 +24,19 @@ int main() break; case PGS_ReloadRom: -/* if (emu_ReloadRom()) engineState = PGS_Running; else { lprintf("PGS_ReloadRom == 0\n"); engineState = PGS_Menu; } -*/ break; case PGS_RestartRun: engineState = PGS_Running; case PGS_Running: -// emu_Loop(); + emu_Loop(); break; case PGS_Quit: