-snes_ppu: Fixed rapid vertical scrolling in rexronan and other games. [Ryan Holtz]

This commit is contained in:
MooglyGuy 2019-11-03 00:16:30 +01:00
parent db0dbeaea5
commit 4c88923f46

View File

@ -1863,6 +1863,8 @@ void snes_ppu_device::refresh_scanline( bitmap_rgb32 &bitmap, uint16_t curline )
g_profiler.start(PROFILER_VIDEO);
cache_background();
if (m_screen_disabled) /* screen is forced blank */
for (int x = 0; x < SNES_SCR_WIDTH * 2; x++)
bitmap.pix32(0, x) = rgb_t::black();
@ -1901,8 +1903,6 @@ void snes_ppu_device::refresh_scanline( bitmap_rgb32 &bitmap, uint16_t curline )
/* Prepare OAM for this scanline */
update_objects_rto(curline);
cache_background();
/* Draw scanline */
draw_screens(curline);