debug: add CLI option to have multi-core interpreter (#1553)

This option still allows you to have proper stack traces for crashes or for the PPC debugger, but is a lot faster then the really slow interpreter (especially when loading into large games like BotW where there has to be a lot of asset decompressing). It makes memory access breakpoints much more brittle though, so it's not a perfect option.

Normal users should of course stick with using the recompiler.
This commit is contained in:
Crementif 2025-05-04 18:04:26 +02:00 committed by GitHub
parent d083fc0470
commit 352a918494
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 4 deletions

View file

@ -669,9 +669,9 @@ void PPCRecompiler_init()
ppcRecompilerEnabled = false;
return;
}
if (LaunchSettings::ForceInterpreter())
if (LaunchSettings::ForceInterpreter() || LaunchSettings::ForceMultiCoreInterpreter())
{
cemuLog_log(LogType::Force, "Recompiler disabled. Command line --force-interpreter was passed");
cemuLog_log(LogType::Force, "Recompiler disabled. Command line --force-interpreter or force-multicore-interpreter was passed");
return;
}
if (ppcRecompilerInstanceData)