mirror of https://github.com/bsnes-emu/bsnes.git
Hide bottom scanline when playing SGB games
For standalone
This commit is contained in:
parent
be0ee7652c
commit
8a441828e1
|
@ -216,7 +216,14 @@ auto Program::videoFrame(const uint16* data, uint pitch, uint width, uint height
|
|||
if(!settings.video.overscan) {
|
||||
uint multiplier = height / 240;
|
||||
data += 8 * multiplier * pitch;
|
||||
height -= 16 * multiplier;
|
||||
if (gameBoy.program)
|
||||
{
|
||||
height -= 16.1 * multiplier;
|
||||
}
|
||||
else
|
||||
{
|
||||
height -= 16 * multiplier;
|
||||
}
|
||||
}
|
||||
|
||||
uint outputWidth, outputHeight;
|
||||
|
|
Loading…
Reference in New Issue