Use a more modern and clean paradigm for read/write handlers

asdasd
This commit is contained in:
SimoneN64
2023-11-14 12:44:08 +01:00
parent 091557478a
commit 25cfd49e64
12 changed files with 383 additions and 200 deletions

View File

@@ -40,7 +40,7 @@ int Interpreter::Step() {
return 1;
}
u32 instruction = mem.Read32(regs, paddr);
u32 instruction = mem.Read<u32>(regs, paddr);
if(ShouldServiceInterrupt()) {
FireException(regs, ExceptionCode::Interrupt, 0, regs.pc);