diff options
author | 2019-09-08 23:06:20 +0300 | |
---|---|---|
committer | 2019-09-08 23:06:20 +0300 | |
commit | 9dfb61f4ef68baea200f1d789de86402a85916df (patch) | |
tree | 3d2ff38d0326374217c292f129e628cc9512e9bf | |
parent | 42706f43a3cc06e5925155c7c5adac65eeae3161 (diff) |
fix prev (nw)
-rw-r--r-- | src/mame/drivers/cps3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/cps3.cpp b/src/mame/drivers/cps3.cpp index da7b16ffcac..14265d3ba30 100644 --- a/src/mame/drivers/cps3.cpp +++ b/src/mame/drivers/cps3.cpp @@ -1213,9 +1213,9 @@ u32 cps3_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const /* Urgh, the startline / endline seem to be direct screen co-ordinates regardless of fullscreen zoom which probably means the fullscreen zoom is applied when rendering everything, not aftewards */ - for (int yy = 0; yy <= ysizedraw2; yy++) + for (int yy = 0; yy < ysizedraw2; yy++) { - int cury_pos = to_s10(yy - (to_s10(ypos2) + to_s10(gscrolly))); // OK for sfiii Alex's stage, but not sure if hardware realy works this way + int cury_pos = to_s10(yy - (to_s10(ypos2) + to_s10(gscrolly)) - 19); // OK for sfiii Alex's stage, but not sure if hardware realy works this way if (cury_pos >= m_renderbuffer_clip.top() && cury_pos <= m_renderbuffer_clip.bottom()) draw_tilemapsprite_line(tilemapnum, cury_pos, m_renderbuffer_bitmap, m_renderbuffer_clip); |