This commit is contained in:
Admiral H. Curtiss 2024-05-07 11:27:52 -03:00 committed by GitHub
commit 8641abcf86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -865,8 +865,9 @@ void Compiler::Reset()
const u32 brk_0 = 0xD4200000;
for (int i = 0; i < (JitMemMainSize + JitMemSecondarySize) / 4; i++)
*(((u32*)GetRWPtr()) + i) = brk_0;
u8* const rw_ptr = GetWriteableRWPtr();
for (u32 i = 0; i < (JitMemMainSize + JitMemSecondarySize); i += sizeof(u32))
std::memcpy(rw_ptr + i, &brk_0, sizeof(u32));
}
void Compiler::Comp_AddCycles_C(bool forceNonConstant)