1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-13 01:29:57 +00:00

Fix device offset computation in bus writes.

This commit is contained in:
Radosław Kujawa 2017-02-23 23:04:45 +01:00
parent 6f875e13e7
commit 97c7709dc7

View File

@ -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);
d->write_1(d, addr, val);
d->write_1(d, addr - doff, val);
}
bus_t