mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
Properly implement cpu_inited_once
This commit is contained in:
parent
576626ead0
commit
a8acf720dd
@ -2047,7 +2047,12 @@ static void frontend_linux_init(void *data)
|
|||||||
GET_METHOD_ID(env, android_app->getStringExtra, class,
|
GET_METHOD_ID(env, android_app->getStringExtra, class,
|
||||||
"getStringExtra", "(Ljava/lang/String;)Ljava/lang/String;");
|
"getStringExtra", "(Ljava/lang/String;)Ljava/lang/String;");
|
||||||
#endif
|
#endif
|
||||||
linux_cpu_init();
|
|
||||||
|
if (!cpu_inited_once)
|
||||||
|
{
|
||||||
|
linux_cpu_init();
|
||||||
|
cpu_inited_once = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user