mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
armjit: Fix first temp vreg offset.
Wonder what havoc this could've caused....
This commit is contained in:
parent
795088001c
commit
c0a04cbf7e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue