diff options
author | 2012-05-07 06:57:50 +0000 | |
---|---|---|
committer | 2012-05-07 06:57:50 +0000 | |
commit | 0238c610f7591571ef6258b1d1cc0653d5353ffa (patch) | |
tree | b92b86df66c278b26f5add32b2537f330036555d /src/emu/uimain.c | |
parent | 0a119e20fe95c08f11d54329e5e2413772abad7e (diff) |
Clean-ups and version bumpmame0145u8
Diffstat (limited to 'src/emu/uimain.c')
-rw-r--r-- | src/emu/uimain.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/uimain.c b/src/emu/uimain.c index 5167149adb4..94cc6190a47 100644 --- a/src/emu/uimain.c +++ b/src/emu/uimain.c @@ -130,7 +130,7 @@ void ui_menu_main::populate() device_iterator deviter(machine().root_device()); for (device_t *device = deviter.first(); device != NULL; device = deviter.next()) if (device->rom_region()) - for (const rom_entry *rom = device->rom_region(); !ROMENTRY_ISEND(rom); rom++) + for (const rom_entry *rom = device->rom_region(); !ROMENTRY_ISEND(rom); rom++) if (ROMENTRY_ISSYSTEM_BIOS(rom)) { has_bioses= true; break; } /* add input menu items */ @@ -319,7 +319,7 @@ void ui_menu_main::handle() case BIOS_SELECTION: ui_menu::stack_push(auto_alloc_clear(machine(), ui_menu_bios_selection(machine(), container))); break; - + default: fatalerror("ui_menu_main::handle - unknown reference"); } @@ -496,7 +496,7 @@ void ui_menu_bios_selection::populate() { if (device->rom_region()) { const char *val = "default"; - for (const rom_entry *rom = device->rom_region(); !ROMENTRY_ISEND(rom); rom++) + for (const rom_entry *rom = device->rom_region(); !ROMENTRY_ISEND(rom); rom++) { if (ROMENTRY_ISSYSTEM_BIOS(rom) && ROM_GETBIOSFLAGS(rom)==device->system_bios()) { @@ -529,7 +529,7 @@ void ui_menu_bios_selection::handle() if (menu_event->iptkey == IPT_UI_LEFT || menu_event->iptkey == IPT_UI_RIGHT) { device_t *dev = (device_t *)menu_event->itemref; int cnt = 0; - for (const rom_entry *rom = dev->rom_region(); !ROMENTRY_ISEND(rom); rom++) + for (const rom_entry *rom = dev->rom_region(); !ROMENTRY_ISEND(rom); rom++) { if (ROMENTRY_ISSYSTEM_BIOS(rom)) cnt ++; } @@ -1372,7 +1372,7 @@ void ui_menu_analog::populate() case IPT_PEDAL3: use_autocenter = true; break; - + default: break; } |