diff options
Diffstat (limited to 'src/mame/drivers/magnum.cpp')
-rw-r--r-- | src/mame/drivers/magnum.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/magnum.cpp b/src/mame/drivers/magnum.cpp index 9ba4bb1439a..6be3061e472 100644 --- a/src/mame/drivers/magnum.cpp +++ b/src/mame/drivers/magnum.cpp @@ -70,7 +70,7 @@ INPUT_CHANGED_MEMBER(magnum_state::keypress) { if(newval != oldval) { - m_key = ((uint8_t)(uintptr_t)(param) & 0xff) | (m_shift->read() & 0xc ? 0 : 0x80); + m_key = (uint8_t)(param & 0xff) | (m_shift->read() & 0xc ? 0 : 0x80); m_keybirq = true; check_irq(); } |