summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/h83002/h8speriph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/h83002/h8speriph.c')
-rw-r--r--src/emu/cpu/h83002/h8speriph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/h83002/h8speriph.c b/src/emu/cpu/h83002/h8speriph.c
index e4120ffd15a..516aa01bc21 100644
--- a/src/emu/cpu/h83002/h8speriph.c
+++ b/src/emu/cpu/h83002/h8speriph.c
@@ -1591,7 +1591,7 @@ UINT8 h8s_onchip_reg_read_8_ddr(h83xx_state *h8, int offset)
{
int port = (offset - H8S_IO_P1DR);
data = h8->drs[port] & h8->ddrs[port];
- data |= (h8->io->read_byte(H8_PORT_1 + port) & (h8->ddrs[port] ^ 0xff));
+ data |= (h8->io->read_byte(H8_PORT_1 + port) & (h8->ddrs[port] ^ 0xff));
}
break;