include more information in DataRegion

This commit is contained in:
RSDuck
2020-04-16 16:40:29 +02:00
parent 59f710158f
commit 5d0f244f3c
5 changed files with 29 additions and 14 deletions

View File

@ -40,9 +40,9 @@ struct FetchedInstr
u32 Instr;
u32 Addr;
u8 CodeCycles;
u8 DataCycles;
u8 DataRegion;
u16 CodeCycles;
u32 DataRegion;
ARMInstrInfo::Info Info;
};
@ -195,6 +195,9 @@ typedef void (*InterpreterFunc)(ARM* cpu);
extern InterpreterFunc InterpretARM[];
extern InterpreterFunc InterpretTHUMB[];
extern u8 MemRegion9[0x80000];
extern u8 MemRegion7[0x80000];
void* GetFuncForAddr(ARM* cpu, u32 addr, bool store, int size);
}