trunk/src/mame/video/kaneko16.c
r17989 | r17990 | |
73 | 73 | // if the display is disabled, do nothing? |
74 | 74 | if (!m_disp_enable) return 0; |
75 | 75 | |
76 | | SCREEN_UPDATE16_CALL_MEMBER(common); |
| 76 | screen_update_common(screen, bitmap, cliprect); |
77 | 77 | m_kaneko_spr->kaneko16_render_sprites(machine(),bitmap,cliprect, m_spriteram, m_spriteram.bytes()); |
78 | 78 | return 0; |
79 | 79 | } |
r17989 | r17990 | |
197 | 197 | // if the display is disabled, do nothing? |
198 | 198 | if (!m_disp_enable) return 0; |
199 | 199 | |
200 | | SCREEN_UPDATE16_CALL_MEMBER(common); |
| 200 | screen_update_common(screen, bitmap, cliprect); |
201 | 201 | m_kaneko_spr->kaneko16_render_sprites(machine(),bitmap,cliprect, m_spriteram, m_spriteram.bytes()); |
202 | 202 | return 0; |
203 | 203 | } |
trunk/src/mame/video/toaplan2.c
r17989 | r17990 | |
422 | 422 | |
423 | 423 | UINT32 toaplan2_state::screen_update_truxton2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
424 | 424 | { |
425 | | |
426 | | SCREEN_UPDATE16_CALL_MEMBER(toaplan2); |
| 425 | screen_update_toaplan2(screen, bitmap, cliprect); |
427 | 426 | m_tx_tilemap->draw(bitmap, cliprect, 0, 0); |
428 | 427 | return 0; |
429 | 428 | } |
r17989 | r17990 | |
431 | 430 | |
432 | 431 | UINT32 toaplan2_state::screen_update_batrider(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
433 | 432 | { |
| 433 | screen_update_toaplan2(screen, bitmap, cliprect); |
434 | 434 | |
435 | | SCREEN_UPDATE16_CALL_MEMBER( toaplan2 ); |
436 | | |
437 | 435 | int line; |
438 | 436 | rectangle clip; |
439 | 437 | const rectangle &visarea = screen.visible_area(); |
r17989 | r17990 | |
462 | 460 | |
463 | 461 | UINT32 toaplan2_state::screen_update_dogyuun(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
464 | 462 | { |
465 | | SCREEN_UPDATE16_CALL_MEMBER( toaplan2_dual ); |
| 463 | screen_update_toaplan2_dual(screen, bitmap, cliprect); |
466 | 464 | return 0; |
467 | 465 | } |
468 | 466 | |
469 | 467 | UINT32 toaplan2_state::screen_update_batsugun(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
470 | 468 | { |
471 | | SCREEN_UPDATE16_CALL_MEMBER( toaplan2_mixed ); |
| 469 | screen_update_toaplan2_mixed(screen, bitmap, cliprect); |
472 | 470 | return 0; |
473 | 471 | } |
474 | 472 | |
trunk/src/mame/video/vicdual.c
r17989 | r17990 | |
139 | 139 | UINT32 vicdual_state::screen_update_vicdual_bw_or_color(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) |
140 | 140 | { |
141 | 141 | if (vicdual_is_cabinet_color(machine())) |
142 | | SCREEN_UPDATE32_CALL_MEMBER(vicdual_color); |
| 142 | screen_update_vicdual_color(screen, bitmap, cliprect); |
143 | 143 | else |
144 | | SCREEN_UPDATE32_CALL_MEMBER(vicdual_bw); |
| 144 | screen_update_vicdual_bw(screen, bitmap, cliprect); |
145 | 145 | |
146 | 146 | return 0; |
147 | 147 | } |
trunk/src/mame/video/ssv.c
r17989 | r17990 | |
972 | 972 | |
973 | 973 | UINT32 ssv_state::screen_update_eaglshot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
974 | 974 | { |
975 | | return SCREEN_UPDATE16_CALL_MEMBER(ssv); |
| 975 | return screen_update_ssv(screen, bitmap, cliprect); |
976 | 976 | } |
977 | 977 | |
978 | 978 | UINT32 ssv_state::screen_update_gdfs(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
979 | 979 | { |
980 | 980 | |
981 | | SCREEN_UPDATE16_CALL_MEMBER(ssv); |
| 981 | screen_update_ssv(screen, bitmap, cliprect); |
982 | 982 | |
983 | 983 | // draw zooming sprites |
984 | 984 | m_gdfs_st0020->st0020_draw_all(machine(), bitmap, cliprect); |
trunk/src/mame/video/tceptor.c
r17989 | r17990 | |
545 | 545 | { |
546 | 546 | if ((screen.frame_number() & 1) == 1) |
547 | 547 | return UPDATE_HAS_NOT_CHANGED; |
548 | | return SCREEN_UPDATE16_CALL_MEMBER( tceptor_2d ); |
| 548 | return screen_update_tceptor_2d(screen, bitmap, cliprect); |
549 | 549 | } |
550 | 550 | |
551 | 551 | UINT32 tceptor_state::screen_update_tceptor_3d_right(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
552 | 552 | { |
553 | 553 | if ((screen.frame_number() & 1) == 0) |
554 | 554 | return UPDATE_HAS_NOT_CHANGED; |
555 | | return SCREEN_UPDATE16_CALL_MEMBER( tceptor_2d ); |
| 555 | return screen_update_tceptor_2d(screen, bitmap, cliprect); |
556 | 556 | } |
557 | 557 | |
558 | 558 | |
trunk/src/mame/video/seta.c
r17989 | r17990 | |
1073 | 1073 | UINT32 seta_state::screen_update_seta(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
1074 | 1074 | { |
1075 | 1075 | set_pens(machine()); |
1076 | | return SCREEN_UPDATE16_CALL_MEMBER(seta_layers); |
| 1076 | return screen_update_seta_layers(screen, bitmap, cliprect); |
1077 | 1077 | } |
1078 | 1078 | |
1079 | 1079 | |
1080 | 1080 | UINT32 seta_state::screen_update_usclssic(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
1081 | 1081 | { |
1082 | 1082 | usclssic_set_pens(machine()); |
1083 | | return SCREEN_UPDATE16_CALL_MEMBER(seta_layers); |
| 1083 | return screen_update_seta_layers(screen, bitmap, cliprect); |
1084 | 1084 | } |
1085 | 1085 | |
1086 | 1086 | |
1087 | 1087 | UINT32 seta_state::screen_update_inttoote(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
1088 | 1088 | { |
1089 | 1089 | /* no palette to set */ |
1090 | | return SCREEN_UPDATE16_CALL_MEMBER(seta_layers); |
| 1090 | return screen_update_seta_layers(screen, bitmap, cliprect); |
1091 | 1091 | } |
trunk/src/mame/video/playch10.c
r17989 | r17990 | |
147 | 147 | |
148 | 148 | /* Single Monitor version */ |
149 | 149 | if (m_pc10_bios != 1) |
150 | | return SCREEN_UPDATE16_CALL_MEMBER(playch10_single); |
| 150 | return screen_update_playch10_single(screen, bitmap, cliprect); |
151 | 151 | |
152 | 152 | if (!m_pc10_dispmask) |
153 | 153 | /* render the ppu */ |
r17989 | r17990 | |
163 | 163 | |
164 | 164 | /* Single Monitor version */ |
165 | 165 | if (m_pc10_bios != 1) |
166 | | return SCREEN_UPDATE16_CALL_MEMBER(playch10_single); |
| 166 | return screen_update_playch10_single(screen, bitmap, cliprect); |
167 | 167 | |
168 | 168 | /* When the bios is accessing vram, the video circuitry can't access it */ |
169 | 169 | |
trunk/src/emu/screen.h
r17989 | r17990 | |
352 | 352 | #define SCREEN_UPDATE_RGB32(name) UINT32 SCREEN_UPDATE_NAME(name)(device_t *, screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) |
353 | 353 | #define SCREEN_UPDATE16_CALL(name) SCREEN_UPDATE_NAME(name)(NULL, screen, bitmap, cliprect) |
354 | 354 | #define SCREEN_UPDATE32_CALL(name) SCREEN_UPDATE_NAME(name)(NULL, screen, bitmap, cliprect) |
355 | | #define SCREEN_UPDATE16_CALL_MEMBER(name) SCREEN_UPDATE_NAME(name)(screen, bitmap, cliprect) |
356 | | #define SCREEN_UPDATE32_CALL_MEMBER(name) SCREEN_UPDATE_NAME(name)(screen, bitmap, cliprect) |
357 | 355 | |
358 | 356 | #define SCREEN_VBLANK_NAME(name) screen_vblank_##name |
359 | 357 | #define SCREEN_VBLANK(name) void SCREEN_VBLANK_NAME(name)(device_t *, screen_device &screen, bool vblank_on) |