debug build - fixed compilation error and warning.

This commit is contained in:
Tomasz Slanina 2008-03-06 23:23:57 +00:00
parent befcee37ad
commit 183f506a2f
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)