Skip to content

Commit d625cae

Browse files
committed
Fix REGIMM in x86-32 recompiler.
1 parent 0fbf328 commit d625cae

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/core/ix86/iR3000A.cc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2861,14 +2861,14 @@ const func_t DynaRecCPU::m_recSPC[64] = {
28612861
};
28622862

28632863
const func_t DynaRecCPU::m_recREG[32] = {
2864-
&DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, // 00
2865-
&DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, // 04
2866-
&DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, // 08
2867-
&DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, // 0c
2868-
&DynaRecCPU::recBLTZAL, &DynaRecCPU::recBGEZAL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, // 10
2869-
&DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, // 14
2870-
&DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, // 18
2871-
&DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, &DynaRecCPU::recNULL, // 1c
2864+
&DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, &DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, // 00
2865+
&DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, &DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, // 04
2866+
&DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, &DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, // 08
2867+
&DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, &DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, // 0c
2868+
&DynaRecCPU::recBLTZAL, &DynaRecCPU::recBGEZAL, &DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, // 10
2869+
&DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, &DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, // 14
2870+
&DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, &DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, // 18
2871+
&DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ, &DynaRecCPU::recBLTZ, &DynaRecCPU::recBGEZ // 1c
28722872
};
28732873

28742874
const func_t DynaRecCPU::m_recCP0[32] = {

src/core/psxinterpreter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ const InterpretedCPU::intFunc_t InterpretedCPU::s_psxREG[32] = {
11991199
&InterpretedCPU::psxBLTZAL, &InterpretedCPU::psxBGEZAL, &InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ, // 10
12001200
&InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ, &InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ, // 14
12011201
&InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ, &InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ, // 18
1202-
&InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ, &InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ // 1c
1202+
&InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ, &InterpretedCPU::psxBLTZ, &InterpretedCPU::psxBGEZ // 1c
12031203
};
12041204

12051205
const InterpretedCPU::intFunc_t InterpretedCPU::s_psxCP0[32] = {

0 commit comments

Comments
 (0)