diff --git a/ares/n64/aleck64/aleck64.hpp b/ares/n64/aleck64/aleck64.hpp index 55ed29bfc..47feb964a 100644 --- a/ares/n64/aleck64/aleck64.hpp +++ b/ares/n64/aleck64/aleck64.hpp @@ -24,7 +24,7 @@ struct Aleck64 : Memory::RCP { template auto readBurst(u32 address, u32 *value, const char *peripheral) -> void { - address = address & 0x00ff'ffff + address = address & 0x00ff'ffff; if (address >= size) { value[0] = value[1] = value[2] = value[3] = 0; if (Size == ICache) @@ -57,7 +57,9 @@ struct Aleck64 : Memory::RCP { auto readPort1() -> u32; auto readPort2() -> u32; auto readPort3() -> u32; + auto readPort4() -> u32; auto writePort3(n32 data) -> void; + auto writePort4(n32 data) -> void; struct Controls { Aleck64& self; diff --git a/ares/n64/aleck64/io.cpp b/ares/n64/aleck64/io.cpp index 40708d617..e1aa49e32 100644 --- a/ares/n64/aleck64/io.cpp +++ b/ares/n64/aleck64/io.cpp @@ -9,7 +9,7 @@ auto Aleck64::readWord(u32 address, Thread& thread) -> u32 { case 0xc080'0000: return readPort1(); case 0xc080'0004: return readPort2(); case 0xc080'0008: return readPort3(); - case 0xc080'0100: return readPort4(); // can just be a stub for now, game is happy without it + case 0xc080'0100: return readPort4(); } }