mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 17:44:41 -06:00
Use interpreter on arm64 by default
This commit is contained in:
parent
f4b59c967e
commit
b2330b36ef
@ -67,12 +67,18 @@ CPUMode ActiveSettings::GetCPUMode()
|
||||
auto mode = g_current_game_profile->GetCPUMode().value_or(CPUMode::Auto);
|
||||
|
||||
if (mode == CPUMode::Auto)
|
||||
{
|
||||
#ifdef __aarch64__
|
||||
mode = CPUMode::SinglecoreInterpreter;
|
||||
}
|
||||
#else
|
||||
{
|
||||
if (GetPhysicalCoreCount() >= 4)
|
||||
mode = CPUMode::MulticoreRecompiler;
|
||||
else
|
||||
mode = CPUMode::SinglecoreRecompiler;
|
||||
}
|
||||
#endif
|
||||
else if (mode == CPUMode::DualcoreRecompiler) // dualcore is disabled now
|
||||
mode = CPUMode::MulticoreRecompiler;
|
||||
|
||||
|
||||
@ -39,7 +39,6 @@ private:
|
||||
|
||||
inline static bool s_enable_gdbstub = false;
|
||||
inline static bool s_nsight_mode = false;
|
||||
|
||||
inline static bool s_force_interpreter = false;
|
||||
|
||||
inline static std::optional<uint32> s_persistent_id{};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user