summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pcecommn.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-17 09:16:44 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-17 09:16:44 +0000
commit0dc663e2e920bad3c4c1247dfb83c66a7b06d354 (patch)
tree9364ca67c09e77b54cd7aec72c8040c441fc3a43 /src/mame/machine/pcecommn.h
parent3cce7e019e095296b5ce2bb45d19b1209bed961d (diff)
Memory handler cleanup 3. Add mem_mask parameter
to 8-bit handlers to match the others. To ease pain, added DECLARE_READ/WRITE_HANDLER macros that set up a default parameter. Also updated devcb so that the handlers can be called with or without the mem_mask. [Aaron Giles]
Diffstat (limited to 'src/mame/machine/pcecommn.h')
-rw-r--r--src/mame/machine/pcecommn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/pcecommn.h b/src/mame/machine/pcecommn.h
index bc874811a4c..bec9ca39e97 100644
--- a/src/mame/machine/pcecommn.h
+++ b/src/mame/machine/pcecommn.h
@@ -11,8 +11,8 @@
#define PCE_MAIN_CLOCK 21477270
-WRITE8_HANDLER ( pce_joystick_w );
- READ8_HANDLER ( pce_joystick_r );
+DECLARE_WRITE8_HANDLER ( pce_joystick_w );
+ DECLARE_READ8_HANDLER ( pce_joystick_r );
#define TG_16_JOY_SIG 0x00
#define PCE_JOY_SIG 0x40