From cc16777cce9c5a2cac9d88c595b6b5f4ee70a2ea Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 17 Sep 2012 07:43:37 +0000 Subject: Memory handler normalization, part 1. READ/WRITE_DEVICE*_HANDLERs are now passed an address_space &, and the 8-bit variants get a mem_mask as well. This means they are now directly compatible with the member function delegates. Added a generic address space to the driver_device that can be used when no specific address space is available. Also added DECLARE_READ/WRITE_DEVICE*_HANDLER macros to declare device callbacks with default mem_mask parameters. [Aaron Giles] --- src/emu/sound/k056800.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/emu/sound/k056800.h') diff --git a/src/emu/sound/k056800.h b/src/emu/sound/k056800.h index 7930ea3d56a..ca4a6a42b9b 100644 --- a/src/emu/sound/k056800.h +++ b/src/emu/sound/k056800.h @@ -57,10 +57,10 @@ extern const device_type K056800; DEVICE I/O FUNCTIONS ***************************************************************************/ -READ32_DEVICE_HANDLER( k056800_host_r ); -WRITE32_DEVICE_HANDLER( k056800_host_w ); -READ16_DEVICE_HANDLER( k056800_sound_r ); -WRITE16_DEVICE_HANDLER( k056800_sound_w ); +DECLARE_READ32_DEVICE_HANDLER( k056800_host_r ); +DECLARE_WRITE32_DEVICE_HANDLER( k056800_host_w ); +DECLARE_READ16_DEVICE_HANDLER( k056800_sound_r ); +DECLARE_WRITE16_DEVICE_HANDLER( k056800_sound_w ); #endif /* __K056800_H__ */ -- cgit v1.2.3-70-g09d2