diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-06-03 20:56:28 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-06-03 20:56:28 -0400 |
commit | ad905451e1c578355df1696b55ce0b7de49e04c8 (patch) | |
tree | 531145ab40f15d8467a9e6d068aa32f2922f44fc /src/mame/drivers/pc9801.cpp | |
parent | 7beb9eb6f2706636743807ffce97290f96c3b4e4 (diff) |
pc9801_cbus: Replace hard-coded CPU tag with configuration macro (nw)
Diffstat (limited to 'src/mame/drivers/pc9801.cpp')
-rw-r--r-- | src/mame/drivers/pc9801.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/drivers/pc9801.cpp b/src/mame/drivers/pc9801.cpp index e34e11a086d..df2e8c8c534 100644 --- a/src/mame/drivers/pc9801.cpp +++ b/src/mame/drivers/pc9801.cpp @@ -2227,6 +2227,7 @@ MACHINE_CONFIG_END MACHINE_CONFIG_START(pc9801_state::pc9801_cbus) MCFG_PC9801CBUS_SLOT_ADD("cbus0", pc9801_cbus_devices, "pc9801_26") + MCFG_PC9801CBUS_CPU("maincpu") MCFG_PC9801CBUS_INT0_CALLBACK(WRITELINE("ir3", input_merger_device, in_w<0>)) MCFG_PC9801CBUS_INT1_CALLBACK(WRITELINE("ir5", input_merger_device, in_w<0>)) MCFG_PC9801CBUS_INT2_CALLBACK(WRITELINE("ir6", input_merger_device, in_w<0>)) @@ -2236,6 +2237,7 @@ MACHINE_CONFIG_START(pc9801_state::pc9801_cbus) MCFG_PC9801CBUS_INT6_CALLBACK(WRITELINE("ir13", input_merger_device, in_w<0>)) MCFG_PC9801CBUS_SLOT_ADD("cbus1", pc9801_cbus_devices, nullptr) + MCFG_PC9801CBUS_CPU("maincpu") MCFG_PC9801CBUS_INT0_CALLBACK(WRITELINE("ir3", input_merger_device, in_w<1>)) MCFG_PC9801CBUS_INT1_CALLBACK(WRITELINE("ir5", input_merger_device, in_w<1>)) MCFG_PC9801CBUS_INT2_CALLBACK(WRITELINE("ir6", input_merger_device, in_w<1>)) |