Fixed debug build (nw)

This commit is contained in:
Miodrag Milanovic 2013-02-13 14:20:01 +00:00
parent 8595a77298
commit b2e83cdc5c
3 changed files with 4 additions and 4 deletions

View File

@ -414,7 +414,7 @@ int igs017_state::debug_viewer(bitmap_ind16 &bitmap,const rectangle &cliprect)
bitmap.fill(0, cliprect);
draw_sprite(machine, bitmap, cliprect, 0,0, w,h, 0,0, 0, a);
draw_sprite(bitmap, cliprect, 0,0, w,h, 0,0, 0, a);
popmessage("a: %08X w: %03X p: %02x-%02x-%02x",a,w,m_sprites_gfx[a/3*3+0],m_sprites_gfx[a/3*3+1],m_sprites_gfx[a/3*3+2]);
m_debug_addr = a;

View File

@ -1305,7 +1305,7 @@ void mediagx_state::install_speedups(const speedup_entry *entries, int count)
}
#ifdef MAME_DEBUG
machine().add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(FUNC(report_speedups), &machine));
machine().add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(FUNC(mediagx_state::report_speedups), this));
#endif
}

View File

@ -449,11 +449,11 @@ UINT32 taitoh_state::screen_update_dleague(screen_device &screen, bitmap_ind16 &
if (!machine().input().code_pressed(KEYCODE_A))
tc0080vco_tilemap_draw(m_tc0080vco, bitmap, cliprect, 0, TILEMAP_DRAW_OPAQUE, 0);
if (!machine().input().code_pressed(KEYCODE_S))
dleague_draw_sprites(machine(), bitmap, cliprect, 0);
dleague_draw_sprites(bitmap, cliprect, 0);
if (!machine().input().code_pressed(KEYCODE_D))
tc0080vco_tilemap_draw(m_tc0080vco, bitmap, cliprect, 1, 0, 0);
if (!machine().input().code_pressed(KEYCODE_F))
dleague_draw_sprites(machine(), bitmap, cliprect, 1);
dleague_draw_sprites(bitmap, cliprect, 1);
#else
tc0080vco_tilemap_draw(m_tc0080vco, bitmap, cliprect, 0, TILEMAP_DRAW_OPAQUE, 0);
dleague_draw_sprites (bitmap, cliprect, 0);