X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=psp%2Fmain.c;h=d970f8a012e7960838dc468bb524d924027db30e;hb=4b811a8abecf3ca8ee0b8a02214982a87d013e2f;hp=4c7eef62a7a656e0e0f0f89eee3f0c4efbded2fc;hpb=366747cc4b3ac4ccf55960b210476f8ddbdd7358;p=libpicofe.git diff --git a/psp/main.c b/psp/main.c index 4c7eef6..d970f8a 100644 --- a/psp/main.c +++ b/psp/main.c @@ -12,7 +12,6 @@ #include "../common/emu.h" #include "../common/config.h" #include "../common/lprintf.h" -#include "version.h" #ifdef GPROF #include @@ -32,7 +31,6 @@ void dummy(void) int pico_main(void) { - lprintf("\nPicoDrive v" VERSION " " __DATE__ " " __TIME__ "\n"); psp_init(); emu_prepareDefaultConfig(); @@ -71,8 +69,11 @@ int pico_main(void) break; case PGS_Suspending: - while (engineState == PGS_Suspending) + while (engineState == PGS_Suspending || engineState == PGS_SuspendAck) { + if (engineState == PGS_Suspending) + engineState = PGS_SuspendAck; psp_wait_suspend(); + } break; case PGS_RestartRun: