Skip to content

Commit

Permalink
aleck64: fix build after merging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeUsher committed Jan 11, 2025
1 parent 1edf83b commit b5be51c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ares/n64/aleck64/aleck64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct Aleck64 : Memory::RCP<Aleck64> {

template<u32 Size>
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)
Expand Down Expand Up @@ -57,7 +57,9 @@ struct Aleck64 : Memory::RCP<Aleck64> {
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;
Expand Down
2 changes: 1 addition & 1 deletion ares/n64/aleck64/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit b5be51c

Please sign in to comment.