1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Fixed setting of the second 1kb.

This commit is contained in:
Thomas Harte 2017-03-11 18:16:29 -05:00
parent a72d70e707
commit f0d944847b

View File

@ -217,7 +217,7 @@ unsigned int Machine::perform_bus_operation(CPU6502::BusOperation operation, uin
{ {
int selected_page = (*value) % (rom_size_ / 2048); int selected_page = (*value) % (rom_size_ / 2048);
rom_pages_[0] = &rom_[selected_page * 2048]; rom_pages_[0] = &rom_[selected_page * 2048];
rom_pages_[1] = rom_pages_[0] + 2048; rom_pages_[1] = rom_pages_[0] + 1024;
} }
break; break;
} }