mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fixed interpreter
This commit is contained in:
1 parent
be91ad2f9c
commit
decbf9da81
1 file changed
+4
-1
@@ -301,8 +301,10 @@ namespace MIPSInt
|
||||
int rt = _RT;
|
||||
int rs = _RS;
|
||||
|
||||
if (rt == 0) //destination register is zero register
|
||||
if (rt == 0) { //destination register is zero register
|
||||
PC += 4;
|
||||
return; //nop
|
||||
}
|
||||
|
||||
switch (op>>26)
|
||||
{
|
||||
@@ -400,6 +402,7 @@ namespace MIPSInt
|
||||
|
||||
if (((op >> 29) & 1) == 0 && rt == 0) {
|
||||
// Don't load anything into $zr
|
||||
PC += 4;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user