fix compile

This commit is contained in:
ToadKing 2013-07-17 23:09:22 -04:00
parent ace8ead2db
commit c77af5739b
2 changed files with 3 additions and 1 deletions

View File

@ -42,6 +42,8 @@
#define EXT_EXECUTABLES "dol|DOL"
#define SALAMANDER_FILE "boot.dol"
#define DEFAULT_EXE_EXT ".dol"
#elif defined(EMSCRIPTEN)
#define EXT_EXECUTABLES ""
#endif
#endif

View File

@ -36,7 +36,7 @@ void mainloop(void)
if (g_extern.system.shutdown)
{
RARCH_ERR("Exit...\n");
emscripten_cancel_main_loop();
exit(0);
}
else if (menuloop)
{