Skip to content

Commit

Permalink
fix prev (nw)
Browse files Browse the repository at this point in the history
  • Loading branch information
p1pkin committed Sep 8, 2019
1 parent 42706f4 commit 9dfb61f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mame/drivers/cps3.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 /* 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 */ 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()) 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); draw_tilemapsprite_line(tilemapnum, cury_pos, m_renderbuffer_bitmap, m_renderbuffer_clip);
Expand Down

0 comments on commit 9dfb61f

Please sign in to comment.