mirror of
https://github.com/holub/mame
synced 2025-07-07 02:50:50 +03:00
-snes_ppu: Fixed doubled-up frames on interlaced games, nw
This commit is contained in:
parent
5383dd355c
commit
c9fa5d187c
@ -808,10 +808,11 @@ inline void snes_ppu_device::update_line( uint16_t curline, uint8_t layer_idx, u
|
||||
|
||||
uint32_t y = layer.mosaic_enabled ? layer.mosaic_offset : curline;
|
||||
|
||||
//printf("h:%d i:%d l:%d ", hires ? 1 : 0, m_interlace, curline);
|
||||
if (hires)
|
||||
{
|
||||
hscroll <<= 1;
|
||||
if (m_interlace == 2) y = y << 1 | (m_stat78 >> 7);
|
||||
if (m_interlace == 2) y = (y & ~1) | (m_stat78 >> 7);
|
||||
}
|
||||
|
||||
uint32_t mosaic_counter = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user