mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
armjit: Fix first temp vreg offset.
Wonder what havoc this could've caused....
This commit is contained in:
1 parent
795088001c
commit
c0a04cbf7e
1 file changed
+1
-1
@@ -572,7 +572,7 @@ int ArmRegCacheFPU::GetMipsRegOffset(MIPSReg r) {
|
||||
return 0; // or what?
|
||||
}
|
||||
|
||||
if (r < 32 || r > 32 + 128) {
|
||||
if (r < 32 || r >= 32 + 128) {
|
||||
return (32 + r) << 2;
|
||||
} else {
|
||||
// r is between 32 and 128 + 32
|
||||
|
||||
Reference in new issue
Block a user