summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPCore.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-06-28 17:18:52 +0000
committerhrydgard <hrydgard@gmail.com>2009-06-28 17:18:52 +0000
commitcc38e72dc3679e15248ffe1c0db6931ce87627c1 (patch)
treeca3d15a744d2eeae9f2d4c9045388604c23586cf /Source/Core/DSPCore/Src/DSPCore.cpp
parente4af896638484da17dcdfe112dba1c9287b85193 (diff)
DSPLLE: Setting breakpoints and stepping through code now works in the (still rather basic) DSP debugger. Decided not to share the breakpoints code between PPC and DSP because it can be done much more efficiently for the DSP case due to the very limited memory space.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3575 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPCore.cpp')
-rw-r--r--Source/Core/DSPCore/Src/DSPCore.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DSPCore/Src/DSPCore.cpp b/Source/Core/DSPCore/Src/DSPCore.cpp
index 8824916db9..565e2e6b1a 100644
--- a/Source/Core/DSPCore/Src/DSPCore.cpp
+++ b/Source/Core/DSPCore/Src/DSPCore.cpp
@@ -34,7 +34,7 @@
#include "DSPIntUtil.h"
SDSP g_dsp;
-BreakPoints dsp_breakpoints;
+DSPBreakpoints dsp_breakpoints;
DSPCoreState core_state = DSPCORE_RUNNING;
Common::Event step_event;
@@ -200,11 +200,9 @@ int DSPCore_RunCycles(int cycles)
switch (core_state)
{
case DSPCORE_RUNNING:
-#if 0 // Set to 1 to enable stepping
- // Enable breakpoints
+#if 1 // Set to 0 to disable breakpoints, for a speed boost.
cycles = DSPInterpreter::RunCyclesDebug(cycles);
#else
- //1: enter a fast runloop
cycles = DSPInterpreter::RunCycles(cycles);
#endif
break;