mirror of https://github.com/snes9xgit/snes9x.git
Fix line doubling in interlaced mode.
This commit is contained in:
parent
36e7748320
commit
382db4d9d4
|
@ -49,6 +49,7 @@ Snes9x 1.56
|
||||||
Football.
|
Football.
|
||||||
- Attached APU instruction tracer and made some additions (BearOso)
|
- Attached APU instruction tracer and made some additions (BearOso)
|
||||||
to debugging output.
|
to debugging output.
|
||||||
|
- Fix line doubling in interlaced mode. (kps501)
|
||||||
- Win32: Added dynamic rate control support for XAudio2 (OV2)
|
- Win32: Added dynamic rate control support for XAudio2 (OV2)
|
||||||
- Win32: Added different volume level configuration for (OV2)
|
- Win32: Added different volume level configuration for (OV2)
|
||||||
regular and turbo speed.
|
regular and turbo speed.
|
||||||
|
|
4
gfx.cpp
4
gfx.cpp
|
@ -729,8 +729,8 @@ void S9xUpdateScreen (void)
|
||||||
GFX.PPL = GFX.RealPPL << 1;
|
GFX.PPL = GFX.RealPPL << 1;
|
||||||
GFX.DoInterlace = 2;
|
GFX.DoInterlace = 2;
|
||||||
|
|
||||||
for (register int32 y = (int32) GFX.StartY - 1; y >= 0; y--)
|
for (register int32 y = (int32) GFX.StartY - 2; y >= 0; y--)
|
||||||
memmove(GFX.Screen + y * GFX.PPL, GFX.Screen + y * GFX.RealPPL, IPPU.RenderedScreenWidth * sizeof(uint16));
|
memmove(GFX.Screen + (y + 1) * GFX.PPL, GFX.Screen + y * GFX.RealPPL, GFX.PPL * sizeof(uint16));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue