Skip to content

Commit

Permalink
update PSEMU/Bus.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherrytree56567 committed Oct 18, 2023
1 parent 839ef22 commit d63227b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PSEMU/Bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ class Bus {
} else if (TIMERS.contains(abs_addr)) {
std::cout << "[BUS] ERROR: Unhandled write to timer register " << std::to_string(TIMERS.offset(abs_addr));
return;
} else if (RAM_.contains(abs_addr)) {
return ram.store16(offset, val);
}

if (addr % 4 != 0) {
Expand Down

0 comments on commit d63227b

Please sign in to comment.