mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-13 16:30:01 +00:00
Fix device offset computation in bus writes.
This commit is contained in:
parent
6f875e13e7
commit
97c7709dc7
@ -94,7 +94,7 @@ bus_write_1(bus_t *t, uint16_t addr, uint8_t val)
|
|||||||
}
|
}
|
||||||
|
|
||||||
printf("bus WRITE @ %x (off %x) value %x\n", addr, addr - doff, val);
|
printf("bus WRITE @ %x (off %x) value %x\n", addr, addr - doff, val);
|
||||||
d->write_1(d, addr, val);
|
d->write_1(d, addr - doff, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
bus_t
|
bus_t
|
||||||
|
Loading…
Reference in New Issue
Block a user