mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
JitArm64: Fix jit clearing
We have to reset m_lastCacheFlushEnd on clearing.
This commit is contained in:
@ -268,11 +268,15 @@ bool IsImmLogical(uint64_t value, unsigned int width, unsigned int *n, unsigned
|
||||
return true;
|
||||
}
|
||||
|
||||
void ARM64XEmitter::SetCodePtr(u8* ptr)
|
||||
void ARM64XEmitter::SetCodePtrUnsafe(u8* ptr)
|
||||
{
|
||||
m_code = ptr;
|
||||
if (!m_lastCacheFlushEnd)
|
||||
m_lastCacheFlushEnd = ptr;
|
||||
}
|
||||
|
||||
void ARM64XEmitter::SetCodePtr(u8* ptr)
|
||||
{
|
||||
SetCodePtrUnsafe(ptr);
|
||||
m_lastCacheFlushEnd = ptr;
|
||||
}
|
||||
|
||||
const u8* ARM64XEmitter::GetCodePtr() const
|
||||
|
Reference in New Issue
Block a user