summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/alto2/a2kbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/alto2/a2kbd.h')
-rw-r--r--src/devices/cpu/alto2/a2kbd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/alto2/a2kbd.h b/src/devices/cpu/alto2/a2kbd.h
index 8f5c9dd2538..e48eeb65a9c 100644
--- a/src/devices/cpu/alto2/a2kbd.h
+++ b/src/devices/cpu/alto2/a2kbd.h
@@ -93,17 +93,17 @@
#define A2_KEY_FR5 MAKE_KEY(3,000) //!< ADL right function key 5
#else // ALTO2_DEFINE_CONSTANTS
-#ifndef _A2KBD_H_
-#define _A2KBD_H_
+#ifndef MAME_CPU_ALTO2_A2KBD_H
+#define MAME_CPU_ALTO2_A2KBD_H
struct {
uint16_t bootkey; //!< boot key - key code pressed before power on
uint16_t matrix[4]; //!< a bit map of the keys pressed (ioports ROW0 ... ROW3)
} m_kbd;
-DECLARE_READ16_MEMBER( kbd_ad_r ); //!< read the keyboard matrix
+uint16_t kbd_ad_r(offs_t offset); //!< read the keyboard matrix
void init_kbd(uint16_t bootkey = 0177777); //!< initialize the keyboard hardware, optionally set the boot key
void exit_kbd(); //!< deinitialize the keyboard hardware
void reset_kbd(); //!< reset the keyboard hardware
-#endif // _A2KBD_H_
+#endif // MAME_CPU_ALTO2_A2KBD_H
#endif // ALTO2_DEFINE_CONSTANTS