mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-14 13:33:42 +00:00
Corrects Disk II ROM visibility.
This commit is contained in:
parent
7996040f35
commit
4dbd1f1358
@ -23,7 +23,7 @@ DiskIICard::DiskIICard(const ROMMachine::ROMFetcher &rom_fetcher, bool is_16_sec
|
|||||||
|
|
||||||
void DiskIICard::perform_bus_operation(CPU::MOS6502::BusOperation operation, uint16_t address, uint8_t *value) {
|
void DiskIICard::perform_bus_operation(CPU::MOS6502::BusOperation operation, uint16_t address, uint8_t *value) {
|
||||||
if(address < 0x100) {
|
if(address < 0x100) {
|
||||||
if(isReadOperation(operation)) *value &= boot_[address];
|
if(isReadOperation(operation)) *value = boot_[address];
|
||||||
} else {
|
} else {
|
||||||
if(isReadOperation(operation)) {
|
if(isReadOperation(operation)) {
|
||||||
*value = diskii_.get_register(address);
|
*value = diskii_.get_register(address);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user