mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-29 00:59:56 -06:00
jit: decrease blockcache AddrMapping size for ARM9
This commit is contained in:
@ -363,7 +363,9 @@ CompiledBlock Compiler::CompileBlock(ARM* cpu, FetchedInstr instrs[], int instrs
|
||||
|
||||
CompiledBlock res = (CompiledBlock)GetWritableCodePtr();
|
||||
|
||||
if (!IsMapped(Num, R15 - Thumb ? 2 : 4))
|
||||
if (!(Num == 0
|
||||
? IsMapped<0>(R15 - (Thumb ? 2 : 4))
|
||||
: IsMapped<1>(R15 - (Thumb ? 2 : 4))))
|
||||
{
|
||||
printf("Trying to compile a block in unmapped memory\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user