mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
Use interpreter on arm64 by default
This commit is contained in:
parent
f4b59c967e
commit
b2330b36ef
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue