mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-02 10:36:22 +00:00
irjit: Fix regcache disable for FPRs.
This commit is contained in:
parent
aedd51f2f6
commit
4e0761b104
@ -687,7 +687,7 @@ void IRNativeRegCacheBase::FlushAll(bool gprs, bool fprs) {
|
||||
|
||||
for (int i = 1; i < TOTAL_MAPPABLE_IRREGS; i++) {
|
||||
IRReg mipsReg = (IRReg)i;
|
||||
if (!fprs && i >= 32 && IsValidFPR(mipsReg))
|
||||
if (!fprs && i >= 32 && IsValidFPR(mipsReg - 32))
|
||||
continue;
|
||||
if (!gprs && IsValidGPR(mipsReg))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user