diff options
author | 2017-05-22 14:31:40 +1000 | |
---|---|---|
committer | 2017-05-22 14:31:40 +1000 | |
commit | a6ee791664e78112cd59fddd23252c4077c5271e (patch) | |
tree | f5c3ac81e60b735a721da21085fff7e0df7c58c8 /src/devices/bus/gamegear | |
parent | e63871ed51214148c8e3b103d594f2b33e0ea197 (diff) |
Goodbye MACHINE_CONFIG_FRAGMENT, it was nice knowing you.
(nw) This is a pretty minimal change. The point where the root device is added has been moved
from the MACHINE_CONFIG_START macro to the constructor of the machine configuration class (made
possible by giving drivers their own device types). This isn't the final change in this area.
The root device is still being handled specially in that its configuration comes from the game
driver structure. This needs to be harmonised with regular devices. But that's a job for
another day.
Diffstat (limited to 'src/devices/bus/gamegear')
-rw-r--r-- | src/devices/bus/gamegear/smsctrladp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/gamegear/smsctrladp.cpp b/src/devices/bus/gamegear/smsctrladp.cpp index cfa70510101..a0335da6462 100644 --- a/src/devices/bus/gamegear/smsctrladp.cpp +++ b/src/devices/bus/gamegear/smsctrladp.cpp @@ -81,7 +81,7 @@ READ32_MEMBER( sms_ctrl_adaptor_device::pixel_r ) } -static MACHINE_CONFIG_FRAGMENT( sms_adp_slot ) +static MACHINE_CONFIG_START( sms_adp_slot ) MCFG_SMS_CONTROL_PORT_ADD("ctrl", sms_control_port_devices, "joypad") MCFG_SMS_CONTROL_PORT_TH_INPUT_HANDLER(WRITELINE(sms_ctrl_adaptor_device, th_pin_w)) MCFG_SMS_CONTROL_PORT_PIXEL_HANDLER(READ32(sms_ctrl_adaptor_device, pixel_r)) |