diff options
author | smf- <smf-@users.noreply.github.com> | 2014-01-10 18:57:28 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2014-01-10 18:57:28 +0000 |
commit | c921b9e1710a81cc43f41d8801c7aaf5d1688de5 (patch) | |
tree | 66789af236dff39a45ef7cf24b7208b1a98fbb79 | |
parent | f336c1fa8d60e2b5a8660285bea8e95424d4aefc (diff) |
Fixed c64gs crash at startup, need to specify the actual type because cia1_pb_r isn't virtual (nw)
-rw-r--r-- | src/mess/drivers/c64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/c64.c b/src/mess/drivers/c64.c index bc1ced55e25..e799933a15d 100644 --- a/src/mess/drivers/c64.c +++ b/src/mess/drivers/c64.c @@ -1334,8 +1334,8 @@ static MACHINE_CONFIG_START( pal_gs, c64gs_state ) MCFG_PLS100_ADD(PLA_TAG) MCFG_MOS6526_ADD(MOS6526_1_TAG, VIC6569_CLOCK, 50, WRITELINE(c64_state, cia1_irq_w)) MCFG_MOS6526_SERIAL_CALLBACKS(DEVWRITELINE(PET_USER_PORT_TAG, pet_user_port_device, write_4), DEVWRITELINE(PET_USER_PORT_TAG, pet_user_port_device, write_5)) - MCFG_MOS6526_PORT_A_CALLBACKS(READ8(c64_state, cia1_pa_r), NULL) - MCFG_MOS6526_PORT_B_CALLBACKS(READ8(c64_state, cia1_pb_r), WRITE8(c64_state, cia1_pb_w), NULL) + MCFG_MOS6526_PORT_A_CALLBACKS(READ8(c64gs_state, cia1_pa_r), NULL) + MCFG_MOS6526_PORT_B_CALLBACKS(READ8(c64gs_state, cia1_pb_r), WRITE8(c64gs_state, cia1_pb_w), NULL) MCFG_MOS6526_ADD(MOS6526_2_TAG, VIC6567_CLOCK, 60, WRITELINE(c64_state, cia2_irq_w)) MCFG_MOS6526_SERIAL_CALLBACKS(DEVWRITELINE(PET_USER_PORT_TAG, pet_user_port_device, write_6), DEVWRITELINE(PET_USER_PORT_TAG, pet_user_port_device, write_7)) MCFG_MOS6526_PORT_A_CALLBACKS(READ8(c64_state, cia2_pa_r), WRITE8(c64_state, cia2_pa_w)) |