mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
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:
parent
d083fc0470
commit
352a918494
4 changed files with 10 additions and 4 deletions
|
@ -26,6 +26,7 @@ public:
|
|||
static bool NSightModeEnabled() { return s_nsight_mode; }
|
||||
|
||||
static bool ForceInterpreter() { return s_force_interpreter; };
|
||||
static bool ForceMultiCoreInterpreter() { return s_force_multicore_interpreter; }
|
||||
|
||||
static std::optional<uint32> GetPersistentId() { return s_persistent_id; }
|
||||
|
||||
|
@ -44,6 +45,7 @@ private:
|
|||
inline static bool s_nsight_mode = false;
|
||||
|
||||
inline static bool s_force_interpreter = false;
|
||||
inline static bool s_force_multicore_interpreter = false;
|
||||
|
||||
inline static std::optional<uint32> s_persistent_id{};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue