mirror of
https://github.com/holub/mame
synced 2025-06-23 04:48:37 +03:00
Fixed compilation error when using memory_install_read_handler() and
memory_install_write_handler()
This commit is contained in:
parent
968dae7b1b
commit
c7c9bc1341
@ -468,7 +468,7 @@ union _addrmap64_token
|
||||
|
||||
/* wrappers for dynamic read handler installation */
|
||||
#define memory_install_read_handler(machine, cpu, space, start, end, mask, mirror, rhandler) \
|
||||
_memory_install_handler(machine, cpu, space, start, end, mask, mirror, rhandler, NULL, #rhandler, NULL)
|
||||
_memory_install_handler(machine, cpu, space, start, end, mask, mirror, rhandler, (FPTR)NULL, #rhandler, NULL)
|
||||
#define memory_install_read8_handler(machine, cpu, space, start, end, mask, mirror, rhandler) \
|
||||
_memory_install_handler8(machine, cpu, space, start, end, mask, mirror, rhandler, NULL, #rhandler, NULL)
|
||||
#define memory_install_read16_handler(machine, cpu, space, start, end, mask, mirror, rhandler) \
|
||||
@ -492,7 +492,7 @@ union _addrmap64_token
|
||||
|
||||
/* wrappers for dynamic write handler installation */
|
||||
#define memory_install_write_handler(machine, cpu, space, start, end, mask, mirror, whandler) \
|
||||
_memory_install_handler(machine, cpu, space, start, end, mask, mirror, NULL, whandler, NULL, #whandler)
|
||||
_memory_install_handler(machine, cpu, space, start, end, mask, mirror, (FPTR)NULL, whandler, NULL, #whandler)
|
||||
#define memory_install_write8_handler(machine, cpu, space, start, end, mask, mirror, whandler) \
|
||||
_memory_install_handler8(machine, cpu, space, start, end, mask, mirror, NULL, whandler, NULL, #whandler)
|
||||
#define memory_install_write16_handler(machine, cpu, space, start, end, mask, mirror, whandler) \
|
||||
|
Loading…
Reference in New Issue
Block a user