summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/fcombat.c
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2009-11-26 23:43:19 +0000
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2009-11-26 23:43:19 +0000
commitcdd9d7c75755992b00a51392b456b6cfcc2bdb60 (patch)
tree402d3158aa2ff8996dbf32256321595b39636caa /src/mame/drivers/fcombat.c
parent1583458859bd0e9a75654063b6785269d68054dc (diff)
Introduced a generic_pointers structure within machine that is
designed to hold generic pointers that are commonly used. For now, only generic_nvram has moved there. Added AM_BASE_GENERIC and AM_SIZE_GENERIC macros for initializing generic pointers in memory maps. Also added AM_BASE_SIZE_GENERIC to set both base and size in one step. Moved global variables out of machine/generic and into a private data structure hanging off of the running_machine. Added newly- needed machine parameters to coin_counter_w, coin_lockout_w, and coin_lockout_global_w. Also added machine parameter to set_led_state. Added interface functions to get the number of dispensed tickets and to increment the count, to remove the need for direct access to these global variables. Also added functions to get the current count on a particular coin counter and to determine the lockout state. Future checkins will move the remaining generic pointers (for paletteram, videoram, spriteram, colorram, etc.) into the new generic_pointers structure.
Diffstat (limited to 'src/mame/drivers/fcombat.c')
0 files changed, 0 insertions, 0 deletions