summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/uimain.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue where changes to the default input config did not Aaron Giles2012-05-071-1/+0
| | | | | | apply to the game-specific config. Also fixed none/default toggle for game-specific configs.
* ioport.c C++ conversion. Mostly internal changes, with no Aaron Giles2012-05-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | intended differences from previous behavior. For drivers, the main change is that input_port_read() no longer exists. Instead, the port must be fetched from the appropriate device, and then read() is called. For member functions, this is actually simpler/cleaner: value = ioport("tag")->read() For legacy functions which have a driver_data state, it goes: value = state->ioport("tag")->read() For other legacy functions, they need to fetch the root device: value = machine.root_device().ioport("tag")->read() The other big change for drivers is that IPT_VBLANK is gone. Instead, it has been replaced by a device line callback on the screen device. There's a new macro PORT_VBLANK("tag") which automatically points things to the right spot. Here's a set of imperfect search & replace strings to convert the input_port_read calls and fix up IPT_VBLANK: input_port_read( *\( *)(machine\(\)) *, *([^)]+ *\)) ioport\1\3->read\(\) input_port_read( *\( *)(.*machine[()]*) *, *([^)]+ *\)) \2\.root_device\(\)\.ioport\1\3->read\(\) (state = .*driver_data[^}]+)space->machine\(\)\.root_device\(\)\. \1state-> (state = .*driver_data[^}]+)device->machine\(\)\.root_device\(\)\. \1state-> input_port_read_safe( *\( *)(machine\(\)) *, *([^,]+), *([^)]+\)) ioport\1\3->read_safe\(\4\) IPT_VBLANK( *\)) IPT_CUSTOM\1 PORT_VBLANK("screen")
* Made UI for BIOS selection where applicable, and moved info about current Miodrag Milanovic2012-04-301-0/+10
| | | system and default bios to device_t class (no whatsnew)
* Move driver list/enumerator to new file drivenum.c/.h. Aaron Giles2012-04-061-0/+1
| | | | Move game_driver definition and constants to new header gamedrv.h.
* uimain: MT 4569 fix [O. Galibert] Olivier Galibert2011-12-211-0/+1
|
* uimenu: cleanups and fixes (nw) Olivier Galibert2011-12-131-4/+5
|
* Sync with MESS all credited there (no whatsnew) Miodrag Milanovic2011-12-121-0/+367