summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/bl_handhelds_menucontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/bl_handhelds_menucontrol.h')
-rw-r--r--src/devices/machine/bl_handhelds_menucontrol.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/machine/bl_handhelds_menucontrol.h b/src/devices/machine/bl_handhelds_menucontrol.h
index bb3d68677c9..419cea33550 100644
--- a/src/devices/machine/bl_handhelds_menucontrol.h
+++ b/src/devices/machine/bl_handhelds_menucontrol.h
@@ -32,21 +32,21 @@ private:
bool m_is_unsp_type_hack;
// internal state
- int m_menupos;
+ uint16_t m_menupos;
// command handling
- int m_clockstate;
- int m_datashifterpos;
+ uint8_t m_clockstate;
+ uint8_t m_datashifterpos;
- int m_responsebit;
+ uint8_t m_responsebit;
uint8_t m_response;
- int m_commandbit;
+ uint8_t m_commandbit;
uint8_t m_command;
void handle_command();
- enum menustate : const int
+ enum menustate : uint8_t
{
MENU_READY_FOR_COMMAND = 0,
@@ -58,7 +58,7 @@ private:
MENU_COMMAND_05_IN,
};
- menustate m_menustate;
+ uint8_t m_menustate;
};
#endif // MAME_MACHINE_BL_HANDHELDS_MENUCONTROL_H