When importing vars, invalidate jit for HI16 too.

This commit is contained in:
Unknown W. Brackets
2013-12-14 15:05:56 -08:00
parent 323fc9a999
commit 18e2648a27
+1
View File
@@ -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;
}