all repos — mgba @ b38cac3be37fa05982bd3204f0822b95260040d7

mGBA Game Boy Advance Emulator

Wii: Fix pixelated filtering on interframe blending (fixes #1830)
Vicki Pfau vi@endrift.com
Tue, 28 Jul 2020 01:00:28 -0700
commit

b38cac3be37fa05982bd3204f0822b95260040d7

parent

32e058a0df5d2c4f1a9ea4e6c5c4861a9e327fd9

2 files changed, 5 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -52,6 +52,7 @@ - Qt: Fix Italian RTC translation (fixes mgba.io/i/1798)

- Qt: Add missing option for Wisdom Tree in overrides list - Util: Fix crash if PNG header fails to write - SM83: Simplify register pair access on big endian + - Wii: Fix pixelated filtering on interframe blending (fixes mgba.io/i/1830) Misc: - Debugger: Keep track of global cycle count - FFmpeg: Add looping option for GIF/APNG
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -877,9 +877,11 @@ case FM_NEAREST:

case FM_LINEAR_2x: default: GX_InitTexObjFilterMode(&tex, GX_NEAR, GX_NEAR); + GX_InitTexObjFilterMode(&interframeTex, GX_NEAR, GX_NEAR); break; case FM_LINEAR_1x: GX_InitTexObjFilterMode(&tex, GX_LINEAR, GX_LINEAR); + GX_InitTexObjFilterMode(&interframeTex, GX_LINEAR, GX_LINEAR); break; } }

@@ -1071,9 +1073,11 @@ case FM_NEAREST:

case FM_LINEAR_2x: default: GX_InitTexObjFilterMode(&tex, GX_NEAR, GX_NEAR); + GX_InitTexObjFilterMode(&interframeTex, GX_NEAR, GX_NEAR); break; case FM_LINEAR_1x: GX_InitTexObjFilterMode(&tex, GX_LINEAR, GX_LINEAR); + GX_InitTexObjFilterMode(&interframeTex, GX_LINEAR, GX_LINEAR); break; } }