mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
debug build - fixed compilation error and warning.
This commit is contained in:
parent
befcee37ad
commit
183f506a2f
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user