decrease jit block cache address granularity

fixes Dragon Quest IX
move code with side effects out of assert, fixes release build
(thanks to m4wx for this one)
also remove some leftovers of jit pipelining
This commit is contained in:
RSDuck
2019-10-16 23:39:12 +02:00
parent 7424f9fda0
commit aa23f21b8d
6 changed files with 62 additions and 44 deletions

View File

@ -38,7 +38,6 @@ struct FetchedInstr
u8 BranchFlags;
u8 SetFlags;
u32 Instr;
u32 NextInstr[2];
u32 Addr;
u8 CodeCycles;
@ -185,7 +184,7 @@ struct __attribute__((packed)) AddressRange
u16 TimesInvalidated;
};
extern AddressRange CodeRanges[ExeMemSpaceSize / 256];
extern AddressRange CodeRanges[ExeMemSpaceSize / 512];
typedef void (*InterpreterFunc)(ARM* cpu);
extern InterpreterFunc InterpretARM[];