(OpenDingux Beta) Fix IPU scaling when running 256x224 (SNES/Genesis) content

This commit is contained in:
jdgleaver 2021-07-16 17:48:03 +01:00
parent d1c03b22e3
commit 6b65daf07d

View File

@ -581,6 +581,12 @@ static void sdl_dingux_sanitize_frame_dimensions(
/* GB/GBC/GG (x3) @ 480x432 */
else if ((width == 480) && (height == 432))
*sanitized_width = 496;
/* SNES/Genesis @ 256x224 */
else if ((width == 256) && (height == 224))
*sanitized_width = 288;
/* SNES/Genesis (x2) @ 512x448 */
else if ((width == 512) && (height == 448))
*sanitized_width = 560;
}
#endif