RSP: Get Recompiler to use LWU
This commit is contained in:
parent
73c9174ce9
commit
d3411809f7
|
@ -72,7 +72,7 @@ void BuildRecompilerCPU(void)
|
||||||
RSP_Opcode[36] = Compile_LBU;
|
RSP_Opcode[36] = Compile_LBU;
|
||||||
RSP_Opcode[37] = Compile_LHU;
|
RSP_Opcode[37] = Compile_LHU;
|
||||||
RSP_Opcode[38] = Compile_UnknownOpcode;
|
RSP_Opcode[38] = Compile_UnknownOpcode;
|
||||||
RSP_Opcode[39] = Compile_UnknownOpcode;
|
RSP_Opcode[39] = Compile_LWU;
|
||||||
RSP_Opcode[40] = Compile_SB;
|
RSP_Opcode[40] = Compile_SB;
|
||||||
RSP_Opcode[41] = Compile_SH;
|
RSP_Opcode[41] = Compile_SH;
|
||||||
RSP_Opcode[42] = Compile_UnknownOpcode;
|
RSP_Opcode[42] = Compile_UnknownOpcode;
|
||||||
|
|
|
@ -1072,6 +1072,12 @@ void Compile_LHU(void)
|
||||||
x86_SetBranch32b(Jump[1], RecompPos);
|
x86_SetBranch32b(Jump[1], RecompPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Compile_LWU(void)
|
||||||
|
{
|
||||||
|
Cheat_r4300iOpcode(RSP_Opcode_LWU, "RSP_Opcode_LWU");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
void Compile_SB(void)
|
void Compile_SB(void)
|
||||||
{
|
{
|
||||||
int Offset = (short)RSPOpC.offset;
|
int Offset = (short)RSPOpC.offset;
|
||||||
|
|
|
@ -23,6 +23,7 @@ void Compile_LH(void);
|
||||||
void Compile_LW(void);
|
void Compile_LW(void);
|
||||||
void Compile_LBU(void);
|
void Compile_LBU(void);
|
||||||
void Compile_LHU(void);
|
void Compile_LHU(void);
|
||||||
|
void Compile_LWU(void);
|
||||||
void Compile_SB(void);
|
void Compile_SB(void);
|
||||||
void Compile_SH(void);
|
void Compile_SH(void);
|
||||||
void Compile_SW(void);
|
void Compile_SW(void);
|
||||||
|
|
Loading…
Reference in New Issue