Settings: Add GDB server settings
This commit is contained in:
parent
9bd28f39a5
commit
9b40c8ffa6
|
@ -247,6 +247,8 @@ void Settings::Load(SettingsInterface& si)
|
||||||
debugging.show_vram = si.GetBoolValue("Debug", "ShowVRAM");
|
debugging.show_vram = si.GetBoolValue("Debug", "ShowVRAM");
|
||||||
debugging.dump_cpu_to_vram_copies = si.GetBoolValue("Debug", "DumpCPUToVRAMCopies");
|
debugging.dump_cpu_to_vram_copies = si.GetBoolValue("Debug", "DumpCPUToVRAMCopies");
|
||||||
debugging.dump_vram_to_cpu_copies = si.GetBoolValue("Debug", "DumpVRAMToCPUCopies");
|
debugging.dump_vram_to_cpu_copies = si.GetBoolValue("Debug", "DumpVRAMToCPUCopies");
|
||||||
|
debugging.enable_gdb_server = si.GetBoolValue("Debug", "EnableGDBServer");
|
||||||
|
debugging.gdb_server_port = si.GetIntValue("Debug", "GDBServerPort");
|
||||||
debugging.show_gpu_state = si.GetBoolValue("Debug", "ShowGPUState");
|
debugging.show_gpu_state = si.GetBoolValue("Debug", "ShowGPUState");
|
||||||
debugging.show_cdrom_state = si.GetBoolValue("Debug", "ShowCDROMState");
|
debugging.show_cdrom_state = si.GetBoolValue("Debug", "ShowCDROMState");
|
||||||
debugging.show_spu_state = si.GetBoolValue("Debug", "ShowSPUState");
|
debugging.show_spu_state = si.GetBoolValue("Debug", "ShowSPUState");
|
||||||
|
|
|
@ -159,6 +159,9 @@ struct Settings
|
||||||
bool dump_cpu_to_vram_copies = false;
|
bool dump_cpu_to_vram_copies = false;
|
||||||
bool dump_vram_to_cpu_copies = false;
|
bool dump_vram_to_cpu_copies = false;
|
||||||
|
|
||||||
|
bool enable_gdb_server = false;
|
||||||
|
u16 gdb_server_port = 1234;
|
||||||
|
|
||||||
// Mutable because the imgui window can close itself.
|
// Mutable because the imgui window can close itself.
|
||||||
mutable bool show_gpu_state = false;
|
mutable bool show_gpu_state = false;
|
||||||
mutable bool show_cdrom_state = false;
|
mutable bool show_cdrom_state = false;
|
||||||
|
|
Loading…
Reference in New Issue