VERY experimental Nintendo Switch 2 emulator
C++
settings: Allow CPU Debug and Fastmem to be changed per-game
t8951fb59b06a6cf
diff --git a/src/common/settings.h b/src/common/settings.hindex 7dc18fffe7..25086d3886 100644--- a/src/common/settings.h+++ b/src/common/settings.h@@ -197,7 +197,7 @@ struct Values {SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,CpuAccuracy::Auto, CpuAccuracy::Paranoid,"cpu_accuracy", Category::Cpu};- Setting<bool> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug};+ SwitchableSetting<bool> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug};Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug};Setting<bool> cpuopt_block_linking{linkage, true, "cpuopt_block_linking", Category::CpuDebug};@@ -211,9 +211,9 @@ struct Values {Setting<bool> cpuopt_misc_ir{linkage, true, "cpuopt_misc_ir", Category::CpuDebug};Setting<bool> cpuopt_reduce_misalign_checks{linkage, true, "cpuopt_reduce_misalign_checks",Category::CpuDebug};- Setting<bool> cpuopt_fastmem{linkage, true, "cpuopt_fastmem", Category::CpuDebug};- Setting<bool> cpuopt_fastmem_exclusives{linkage, true, "cpuopt_fastmem_exclusives",- Category::CpuDebug};+ SwitchableSetting<bool> cpuopt_fastmem{linkage, true, "cpuopt_fastmem", Category::CpuDebug};+ SwitchableSetting<bool> cpuopt_fastmem_exclusives{linkage, true, "cpuopt_fastmem_exclusives",+ Category::CpuDebug};Setting<bool> cpuopt_recompile_exclusives{linkage, true, "cpuopt_recompile_exclusives",Category::CpuDebug};Setting<bool> cpuopt_ignore_memory_aborts{linkage, true, "cpuopt_ignore_memory_aborts",