summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ioport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ioport.h')
-rw-r--r--src/emu/ioport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ioport.h b/src/emu/ioport.h
index 5e07c848b50..a391492a906 100644
--- a/src/emu/ioport.h
+++ b/src/emu/ioport.h
@@ -1144,7 +1144,7 @@ private:
// data relevant to other specific types
u8 m_way; // digital joystick 2/4/8-way descriptions
- char32_t m_chars[4]; // unicode key data
+ char32_t m_chars[1 << (UCHAR_SHIFT_END - UCHAR_SHIFT_BEGIN + 1)]; // unicode key data
};