From a4efafbd2efd9c70dd9c19efbd3d478e7b6cf98b Mon Sep 17 00:00:00 2001 From: BearOso Date: Sun, 30 Jan 2022 20:03:34 -0600 Subject: [PATCH] libretro: Fix interaction with Blargg filter and hires. --- libretro/libretro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index 03045565..bb4ebc53 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -2021,7 +2021,7 @@ bool8 S9xDeinitUpdate(int width, int height) else snes_ntsc_blit(snes_ntsc, GFX.Screen, GFX.Pitch / 2, burst_phase, width, height, snes_ntsc_buffer, GFX.Pitch); - video_cb(snes_ntsc_buffer + ((int)(GFX.Pitch >> 1) * overscan_offset), SNES_NTSC_OUT_WIDTH(width), height, GFX.Pitch); + video_cb(snes_ntsc_buffer + ((int)(GFX.Pitch >> 1) * overscan_offset), SNES_NTSC_OUT_WIDTH(256), height, GFX.Pitch); } else if (width == MAX_SNES_WIDTH && hires_blend) {