summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPTables.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-05-03 11:15:17 +0000
committerhrydgard <hrydgard@gmail.com>2009-05-03 11:15:17 +0000
commit0772db6af6f35c700c6ff169bc94bef13d9b8cb7 (patch)
treed04f72f205695cd4f0b068894b3a3959452c82f9 /Source/Core/DSPCore/Src/DSPTables.cpp
parent90ae2a8e55362bc06867ba8d44a39818b7aa31b9 (diff)
DSP: add a crazy little shell script that will build DSPCore into DSPSpy. make DSPCore build in gekko mode. re-add GC-pad controls to DSPSpy (now it can run inside Dolphin, kind of neat but not super useful for the obvious reasons).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3141 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPTables.cpp')
-rw-r--r--Source/Core/DSPCore/Src/DSPTables.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DSPCore/Src/DSPTables.cpp b/Source/Core/DSPCore/Src/DSPTables.cpp
index 0eab6484ed..f1afb2074c 100644
--- a/Source/Core/DSPCore/Src/DSPTables.cpp
+++ b/Source/Core/DSPCore/Src/DSPTables.cpp
@@ -473,7 +473,7 @@ const char *pdregnamelong(int val)
const DSPOPCTemplate *GetOpTemplate(const UDSPInstruction &inst)
{
- for (u32 i = 0; i < opcodes_size; i++)
+ for (int i = 0; i < opcodes_size; i++)
{
u16 mask = opcodes[i].opcode_mask;
if (opcodes[i].size & P_EXT) {
@@ -501,7 +501,7 @@ void InitInstructionTable()
for (int i = 0; i < OPTABLE_SIZE; i++)
{
- for (u32 j = 0; j < opcodes_size; j++)
+ for (int j = 0; j < opcodes_size; j++)
{
u16 mask = opcodes[j].opcode_mask;
if (opcodes[j].size & P_EXT) {