diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2010-03-23 12:52:22 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2010-03-23 12:52:22 +0000 |
commit | d7e899f92ed4364343d7876b09b6355fe3eb98ff (patch) | |
tree | 34a7327e6353283c3cc4e73313ac720f546df68d | |
parent | 230401bb031104a41ec67286e9a0f245a6f6fd13 (diff) |
- 03776: Various PC-based drivers: MESS Scroll Lock keyboard toggle has snuck in somehow [Miodrag Milanovic]
-rw-r--r-- | src/emu/inptport.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emu/inptport.c b/src/emu/inptport.c index 3799fbd0930..a5600a8e589 100644 --- a/src/emu/inptport.c +++ b/src/emu/inptport.c @@ -4704,9 +4704,10 @@ static void record_port(const input_port_config *port) int input_machine_has_keyboard(running_machine *machine) { + int have_keyboard = FALSE; +#ifdef MESS const input_field_config *field; const input_port_config *port; - int have_keyboard = FALSE; for (port = machine->portlist.first(); port != NULL; port = port->next) { for (field = port->fieldlist; field != NULL; field = field->next) @@ -4716,6 +4717,7 @@ int input_machine_has_keyboard(running_machine *machine) break; } } +#endif return have_keyboard; } |