mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-08 12:50:07 +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,
|
||||
"getStringExtra", "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
#endif
|
||||
linux_cpu_init();
|
||||
|
||||
if (!cpu_inited_once)
|
||||
{
|
||||
linux_cpu_init();
|
||||
cpu_inited_once = true;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef ANDROID
|
||||
|
Loading…
x
Reference in New Issue
Block a user