summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ioport.c
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2012-05-08 01:25:49 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2012-05-08 01:25:49 +0000
commit6df8fff70053f0cb2687bf82159260afa4690bf8 (patch)
tree4953be26b45c2e8e51eae6265d52b75a24eb7641 /src/emu/ioport.c
parent892980f48e5f9baee89a131864b6ba80a5b92be8 (diff)
Fix OS X PowerPC compile (nw)
Diffstat (limited to 'src/emu/ioport.c')
-rw-r--r--src/emu/ioport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/ioport.c b/src/emu/ioport.c
index e34604fd506..629135eef58 100644
--- a/src/emu/ioport.c
+++ b/src/emu/ioport.c
@@ -1236,7 +1236,10 @@ void natural_keyboard::build_codes(ioport_manager &manager)
{
keycode_map_entry newcode;
if (curshift == 0)
+ {
newcode.field[0] = field;
+ newcode.field[1] = 0;
+ }
else
{
newcode.field[0] = shift[curshift - 1];