summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/amspdwy.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-04-18 19:40:59 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-04-18 19:40:59 +0000
commit523c35daed51c8320c03e4ccf19038466ec11215 (patch)
tree16747c8c99e35e91cc555c38001eae85c61b054c /src/mame/drivers/amspdwy.c
parent6718512f0a32d7b6efbdb7a052ebad866f906bb4 (diff)
Now that memory_bank is exposed as an object, removed all the global
bank manipulation APIs from memory_manager, and instead added a memory_manager::bank("tag") function which will return a pointer to the representative memory_bank. Operations can then be performed as expected directly on the memory_bank. Most code did not need an update yet, as I haven't done the search/replace to move away from global functions (which still exist for now). Added device_t::subbank("tag") to return a bank that is owned by the given device. Switched YM2151 interfaces over to devcb callbacks. Created proper sound devices for the Williams NARC, CVSD and ADPCM sound boards. Updated midyunit, midtunit, williams(joust2), and mcr68(archrivl/pigskin/trisport) to use the new devices.
Diffstat (limited to 'src/mame/drivers/amspdwy.c')
-rw-r--r--src/mame/drivers/amspdwy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/amspdwy.c b/src/mame/drivers/amspdwy.c
index 2fbbeea4d8c..7ab97610c45 100644
--- a/src/mame/drivers/amspdwy.c
+++ b/src/mame/drivers/amspdwy.c
@@ -246,7 +246,7 @@ static void irq_handler( device_t *device, int irq )
static const ym2151_interface amspdwy_ym2151_interface =
{
- irq_handler
+ DEVCB_LINE(irq_handler)
};
static MACHINE_START( amspdwy )