summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Tomasz Slanina <tomaszsl@mamedev.org>2008-03-06 23:23:57 +0000
committer Tomasz Slanina <tomaszsl@mamedev.org>2008-03-06 23:23:57 +0000
commit183f506a2fd1807bc99fb0adfdf74c2910e5bcd8 (patch)
tree62aa49893eaf7d1d94a4cfb483075ed221b6b48e
parentbefcee37ad5b4a037347b99ce006deaac1f5890e (diff)
debug build - fixed compilation error and warning.
-rw-r--r--src/emu/debug/debugcpu.c2
-rw-r--r--src/emu/sound.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c
index 00cb819fac0..19a185f3ca7 100644
--- a/src/emu/debug/debugcpu.c
+++ b/src/emu/debug/debugcpu.c
@@ -144,7 +144,7 @@ int mame_debug_is_active(void)
on_vblank - called when a VBLANK hits
-------------------------------------------------*/
-static void on_vblank(running_machine *machine, screen_state *screen, int vblank_state)
+static void on_vblank(running_machine *machine, const device_config *device, int vblank_state)
{
/* if we're configured to stop on VBLANK, break */
if (vblank_state && break_on_vblank)
diff --git a/src/emu/sound.c b/src/emu/sound.c
index c30d364d2cb..adf82d3500c 100644
--- a/src/emu/sound.c
+++ b/src/emu/sound.c
@@ -808,7 +808,7 @@ static DEVICE_START( speaker_output )
static DEVICE_STOP( speaker_output )
{
#ifdef MAME_DEBUG
- speaker_info *info = token;
+ speaker_info *info = device->token;
/* log the maximum sample values for all speakers */
if (info->max_sample > 0)