diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-06-07 11:06:40 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-06-07 11:06:40 +0000 |
| commit | bb06a53e28ee3403e92e42aeba303ac69aecf3d6 (patch) | |
| tree | 2621a68067ad0a6b29653c2b6f62c339ab579442 /Source/Core/DSPCore/Src/gdsp_interpreter.cpp | |
| parent | 89cd1a4a76b02f24a9477c4c5b5db84d6565b9b2 (diff) | |
DSP LLE: Just some renaming and cleanup. Prepared for proper base address support in disassembly. Added a "DebugInterface" for the DSP which would allow us to hook up a CodeView .. although CoreView currently doesn't have any support for variable-length instructions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3351 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/gdsp_interpreter.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/gdsp_interpreter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DSPCore/Src/gdsp_interpreter.cpp b/Source/Core/DSPCore/Src/gdsp_interpreter.cpp index 757ddf9aac..733282e7f6 100644 --- a/Source/Core/DSPCore/Src/gdsp_interpreter.cpp +++ b/Source/Core/DSPCore/Src/gdsp_interpreter.cpp @@ -45,7 +45,7 @@ void WriteCR(u16 val) // reset if (val & 0x0001) { - gdsp_reset(); + DSPCore_Reset(); } val &= ~0x0001; @@ -99,7 +99,7 @@ void HandleLoop() void Step() { - gdsp_check_exceptions(); + DSPCore_CheckExceptions(); g_dsp.step_counter++; @@ -133,7 +133,7 @@ void Run() if (DSPHost_Running()) break; - gdsp_check_external_int(); + DSPCore_CheckExternalInterrupt(); // This number (500) is completely arbitrary. TODO: tweak. for (int i = 0; i < 500 && !(g_dsp.cr & CR_HALT); i++) Step(); @@ -147,7 +147,7 @@ void Run() // Used by non-thread mode. void RunCycles(int cycles) { - gdsp_check_external_int(); + DSPCore_CheckExternalInterrupt(); // First, let's run a few cycles with no idle skipping so that things can progress a bit. for (int i = 0; i < 8; i++) |
