lr: terminate emu during deinit on android

Issue #566 is for linux only, not android
This commit is contained in:
Flyinghead 2022-07-03 18:38:59 +02:00
parent 5bb8c86903
commit d6644c4935
1 changed files with 2 additions and 2 deletions

View File

@ -332,7 +332,7 @@ void retro_init()
os_InstallFaultHandler();
MapleConfigMap::UpdateVibration = updateVibration;
#if defined(__GNUC__) && !defined(_WIN32)
#if defined(__GNUC__) && defined(__linux__) && !defined(__ANDROID__)
if (!emuInited)
#endif
emu.init();
@ -351,7 +351,7 @@ void retro_deinit()
}
os_UninstallFaultHandler();
#if defined(__GNUC__) && !defined(_WIN32)
#if defined(__GNUC__) && defined(__linux__) && !defined(__ANDROID__)
_vmem_release();
#else
emu.term();