mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Correct reading of top byte of counter 2.
This commit is contained in:
parent
20da194fab
commit
34d4420e8c
@ -159,7 +159,7 @@ uint8_t MOS6526<BusHandlerT, personality>::read(int address) {
|
||||
case 4: return uint8_t(counter_[0].value >> 0);
|
||||
case 5: return uint8_t(counter_[0].value >> 8);
|
||||
case 6: return uint8_t(counter_[1].value >> 0);
|
||||
case 7: return uint8_t(counter_[1].value >> 0);
|
||||
case 7: return uint8_t(counter_[1].value >> 8);
|
||||
|
||||
// Interrupt state.
|
||||
case 13: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user