diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2016-12-25 00:57:32 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-01-31 21:07:05 -0500 |
commit | 3f7e68138b2ffc87bc257d048f1effa4b685c4ef (patch) | |
tree | 387f9ede30e90d4dc4e13818bb4e0e77d9d50664 /src/devices/cpu/hmcs40/hmcs40.h | |
parent | ecf9eeefc2a9b99b9940a04cffe9dc50593dcdef (diff) |
Make devcb objects more consistently available for further configuration (nw)
Diffstat (limited to 'src/devices/cpu/hmcs40/hmcs40.h')
-rw-r--r-- | src/devices/cpu/hmcs40/hmcs40.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/hmcs40/hmcs40.h b/src/devices/cpu/hmcs40/hmcs40.h index 43ea2035ad4..1eaed0bab37 100644 --- a/src/devices/cpu/hmcs40/hmcs40.h +++ b/src/devices/cpu/hmcs40/hmcs40.h @@ -16,15 +16,15 @@ // max 8 4-bit R ports #define MCFG_HMCS40_READ_R_CB(R, _devcb) \ - hmcs40_cpu_device::set_read_r##R##_callback(*device, DEVCB_##_devcb); + devcb = &hmcs40_cpu_device::set_read_r##R##_callback(*device, DEVCB_##_devcb); #define MCFG_HMCS40_WRITE_R_CB(R, _devcb) \ - hmcs40_cpu_device::set_write_r##R##_callback(*device, DEVCB_##_devcb); + devcb = &hmcs40_cpu_device::set_write_r##R##_callback(*device, DEVCB_##_devcb); // 16-bit discrete #define MCFG_HMCS40_READ_D_CB(_devcb) \ - hmcs40_cpu_device::set_read_d_callback(*device, DEVCB_##_devcb); + devcb = &hmcs40_cpu_device::set_read_d_callback(*device, DEVCB_##_devcb); #define MCFG_HMCS40_WRITE_D_CB(_devcb) \ - hmcs40_cpu_device::set_write_d_callback(*device, DEVCB_##_devcb); + devcb = &hmcs40_cpu_device::set_write_d_callback(*device, DEVCB_##_devcb); enum { |