mirror of https://github.com/snes9xgit/snes9x.git
Make DEBUGGER compile again (without APU debugger)
This commit is contained in:
parent
e4d08bb71a
commit
a95d69c051
|
@ -6,7 +6,8 @@
|
|||
#define SMP_CPP
|
||||
namespace SNES {
|
||||
|
||||
#if defined(DEBUGGER)
|
||||
// TODO: reactivate once APU debugger works again
|
||||
#if 0 // DEBUGGER
|
||||
#include "debugger/debugger.cpp"
|
||||
#include "debugger/disassembler.cpp"
|
||||
SMPDebugger smp;
|
||||
|
|
|
@ -124,7 +124,8 @@ public:
|
|||
inline uint8 op_ror (uint8 x);
|
||||
};
|
||||
|
||||
#if defined(DEBUGGER)
|
||||
// TODO: reactivate once APU debugger works again
|
||||
#if 0 // DEBUGGER
|
||||
#include "debugger/debugger.hpp"
|
||||
extern SMPDebugger smp;
|
||||
#else
|
||||
|
|
|
@ -1578,8 +1578,9 @@ static void debug_process_command (char *Line)
|
|||
printf("HC event tracing %s.\n", Settings.TraceHCEvent ? "enabled" : "disabled");
|
||||
}
|
||||
|
||||
if (*Line == 'A')
|
||||
spc_core->debug_toggle_trace();
|
||||
// TODO: reactivate once APU debugger works again
|
||||
/*if (*Line == 'A')
|
||||
spc_core->debug_toggle_trace();*/
|
||||
|
||||
/*
|
||||
if (*Line == 'B')
|
||||
|
|
|
@ -2424,7 +2424,8 @@ LRESULT CALLBACK WinProc(
|
|||
Settings.Paused = FALSE;
|
||||
break;
|
||||
case ID_DEBUG_APU_TRACE:
|
||||
spc_core->debug_toggle_trace();
|
||||
// TODO: reactivate once APU debugger works again
|
||||
//spc_core->debug_toggle_trace();
|
||||
break;
|
||||
#endif
|
||||
case IDM_ROM_INFO:
|
||||
|
@ -3994,7 +3995,9 @@ static void CheckMenuStates ()
|
|||
#ifdef DEBUGGER
|
||||
mii.fState = (CPU.Flags & TRACE_FLAG) ? MFS_CHECKED : MFS_UNCHECKED;
|
||||
SetMenuItemInfo (GUI.hMenu, ID_DEBUG_TRACE, FALSE, &mii);
|
||||
mii.fState = (spc_core->debug_is_enabled()) ? MFS_CHECKED : MFS_UNCHECKED;
|
||||
// TODO: reactivate once APU debugger works again
|
||||
//mii.fState = (spc_core->debug_is_enabled()) ? MFS_CHECKED : MFS_UNCHECKED;
|
||||
mii.fState = MFS_UNCHECKED;
|
||||
SetMenuItemInfo (GUI.hMenu, ID_DEBUG_APU_TRACE, FALSE, &mii);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue