mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Merge pull request #4831 from unknownbrackets/jit-invalidate
When importing vars, invalidate jit for HI16 too
This commit is contained in:
commit
a63e9828ed
@ -499,6 +499,7 @@ void WriteVarSymbol(u32 exportAddress, u32 relocAddress, u8 type, bool reverse =
|
||||
// We add 1 in that case so that it ends up the right value.
|
||||
u16 high = (full >> 16) + ((full & 0x8000) ? 1 : 0);
|
||||
Memory::Write_U32((it->data & ~0xFFFF) | high, it->addr);
|
||||
currentMIPS->InvalidateICache(it->addr, 4);
|
||||
}
|
||||
lastHI16Processed = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user