mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #4831 from unknownbrackets/jit-invalidate
When importing vars, invalidate jit for HI16 too
This commit is contained in:
commit
a63e9828ed
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue