diff options
Diffstat (limited to 'src/mame/video/stvvdp2.c')
-rw-r--r-- | src/mame/video/stvvdp2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index 260de3c9f93..5fd84149193 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -5366,6 +5366,9 @@ UINT8 get_vblank(running_machine &machine) int cur_v,vblank; cur_v = machine.primary_screen->vpos(); + if(!STV_VDP2_DISP) + return 1; + vblank = (state->m_vdp2.pal) ? 288 : 240; if((STV_VDP2_LSMD & 3) == 3) @@ -6340,7 +6343,7 @@ SCREEN_UPDATE( stv_vdp2 ) } #endif - if(STV_VDP2_DISP != 0) + if(STV_VDP2_DISP) { stv_sprite_priorities_usage_valid = 0; memset(stv_sprite_priorities_used, 0, sizeof(stv_sprite_priorities_used)); |