From d04fd53baabc102f02101ee8d1c5ef25a147bd86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Mon, 23 Jan 2012 05:16:12 +0000 Subject: [PATCH] screen eof regressions --- src/mame/drivers/champbwl.c | 8 ++++---- src/mame/drivers/galpanic.c | 4 ++-- src/mame/drivers/hvyunit.c | 4 ++-- src/mame/drivers/sandscrp.c | 4 ++-- src/mame/drivers/seta.c | 4 ++-- src/mame/drivers/snowbros.c | 4 ++-- src/mame/drivers/wwfwfest.c | 4 ++-- src/mame/video/airbustr.c | 4 ++-- src/mame/video/djboy.c | 4 ++-- src/mame/video/seta.c | 4 ++-- src/mame/video/tnzs.c | 4 ++-- 11 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/mame/drivers/champbwl.c b/src/mame/drivers/champbwl.c index 375240cb3cb..e6f84b6f417 100644 --- a/src/mame/drivers/champbwl.c +++ b/src/mame/drivers/champbwl.c @@ -462,8 +462,8 @@ SCREEN_UPDATE_IND16( champbwl ) SCREEN_VBLANK( champbwl ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) screen.machine().device("spritegen")->tnzs_eof(); } @@ -521,8 +521,8 @@ static SCREEN_UPDATE_IND16( doraemon ) static SCREEN_VBLANK( doraemon ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) screen.machine().device("spritegen")->setac_eof(); } diff --git a/src/mame/drivers/galpanic.c b/src/mame/drivers/galpanic.c index bf59d10f1c3..a939c4f5062 100644 --- a/src/mame/drivers/galpanic.c +++ b/src/mame/drivers/galpanic.c @@ -127,8 +127,8 @@ The current set of Super Model is an example of type C static SCREEN_VBLANK( galpanic ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) { device_t *pandora = screen.machine().device("pandora"); pandora_eof(pandora); diff --git a/src/mame/drivers/hvyunit.c b/src/mame/drivers/hvyunit.c index 3d29bb81a35..703fb7d45d3 100644 --- a/src/mame/drivers/hvyunit.c +++ b/src/mame/drivers/hvyunit.c @@ -171,8 +171,8 @@ static SCREEN_UPDATE_IND16( hvyunit ) static SCREEN_VBLANK( hvyunit ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) { hvyunit_state *state = screen.machine().driver_data(); pandora_eof(state->m_pandora); diff --git a/src/mame/drivers/sandscrp.c b/src/mame/drivers/sandscrp.c index 48b29343b2a..f2bb333da95 100644 --- a/src/mame/drivers/sandscrp.c +++ b/src/mame/drivers/sandscrp.c @@ -136,8 +136,8 @@ static INTERRUPT_GEN( sandscrp_interrupt ) static SCREEN_VBLANK( sandscrp ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) { sandscrp_state *state = screen.machine().driver_data(); device_t *pandora = screen.machine().device("pandora"); diff --git a/src/mame/drivers/seta.c b/src/mame/drivers/seta.c index b2949d9468b..b787ea2d071 100644 --- a/src/mame/drivers/seta.c +++ b/src/mame/drivers/seta.c @@ -1547,8 +1547,8 @@ static READ8_DEVICE_HANDLER( dsw2_r ) */ static SCREEN_VBLANK( seta_buffer_sprites ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) { //seta_state *state = machine.driver_data(); screen.machine().device("spritegen")->setac_eof(); diff --git a/src/mame/drivers/snowbros.c b/src/mame/drivers/snowbros.c index ef27f21253f..828af5f9683 100644 --- a/src/mame/drivers/snowbros.c +++ b/src/mame/drivers/snowbros.c @@ -94,8 +94,8 @@ static SCREEN_UPDATE_IND16( snowbros ) static SCREEN_VBLANK( snowbros ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) { device_t *pandora = screen.machine().device("pandora"); pandora_eof(pandora); diff --git a/src/mame/drivers/wwfwfest.c b/src/mame/drivers/wwfwfest.c index e4f8a11ddf0..e1754e65342 100644 --- a/src/mame/drivers/wwfwfest.c +++ b/src/mame/drivers/wwfwfest.c @@ -383,8 +383,8 @@ static const ym2151_interface ym2151_config = static SCREEN_VBLANK( wwfwfest ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) { address_space *space = screen.machine().device("maincpu")->memory().space(AS_PROGRAM); diff --git a/src/mame/video/airbustr.c b/src/mame/video/airbustr.c index 4185e1bb763..e45f41bbadf 100644 --- a/src/mame/video/airbustr.c +++ b/src/mame/video/airbustr.c @@ -148,8 +148,8 @@ SCREEN_UPDATE_IND16( airbustr ) SCREEN_VBLANK( airbustr ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) { airbustr_state *state = screen.machine().driver_data(); diff --git a/src/mame/video/djboy.c b/src/mame/video/djboy.c index 985fe1f9848..16e154dbd4e 100644 --- a/src/mame/video/djboy.c +++ b/src/mame/video/djboy.c @@ -83,8 +83,8 @@ SCREEN_UPDATE_IND16( djboy ) SCREEN_VBLANK( djboy ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) { djboy_state *state = screen.machine().driver_data(); pandora_eof(state->m_pandora); diff --git a/src/mame/video/seta.c b/src/mame/video/seta.c index 31e029d637b..027614d3559 100644 --- a/src/mame/video/seta.c +++ b/src/mame/video/seta.c @@ -1067,8 +1067,8 @@ SCREEN_UPDATE_IND16( setaroul ) SCREEN_VBLANK( setaroul ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) screen.machine().device("spritegen")->tnzs_eof(); } diff --git a/src/mame/video/tnzs.c b/src/mame/video/tnzs.c index f6c2c8b65cf..558f0e5b1e8 100644 --- a/src/mame/video/tnzs.c +++ b/src/mame/video/tnzs.c @@ -55,7 +55,7 @@ SCREEN_UPDATE_IND16( tnzs ) SCREEN_VBLANK( tnzs ) { - // rising edge - if (vblank_on) + // falling edge + if (!vblank_on) screen.machine().device("spritegen")->tnzs_eof(); }