mirror of
https://github.com/libretro/bsnes-libretro-cplusplus98.git
synced 2025-04-13 07:30:47 +00:00
Bugfix.
This commit is contained in:
parent
608c109bad
commit
4083f568f1
@ -14,7 +14,7 @@ struct Interface : public SNES::Interface {
|
||||
|
||||
void video_refresh(const uint16_t *data, bool hires, bool interlace, bool overscan) {
|
||||
unsigned width = hires ? 512 : 256;
|
||||
unsigned height = overscan ? 224 : 239;
|
||||
unsigned height = overscan ? 239 : 224;
|
||||
if(interlace) height <<= 1;
|
||||
data += 9 * 1024; //skip front porch
|
||||
if(pvideo_refresh) return pvideo_refresh(data, width, height);
|
||||
|
Loading…
x
Reference in New Issue
Block a user