Wii: Fix pixelated filtering on interframe blending (fixes #1830)

This commit is contained in:
Vicki Pfau 2020-07-28 01:00:28 -07:00
parent 32e058a0df
commit b38cac3be3
2 changed files with 5 additions and 0 deletions

View File

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

View File

@ -877,9 +877,11 @@ void _unpaused(struct mGUIRunner* runner) {
case FM_LINEAR_2x: case FM_LINEAR_2x:
default: default:
GX_InitTexObjFilterMode(&tex, GX_NEAR, GX_NEAR); GX_InitTexObjFilterMode(&tex, GX_NEAR, GX_NEAR);
GX_InitTexObjFilterMode(&interframeTex, GX_NEAR, GX_NEAR);
break; break;
case FM_LINEAR_1x: case FM_LINEAR_1x:
GX_InitTexObjFilterMode(&tex, GX_LINEAR, GX_LINEAR); GX_InitTexObjFilterMode(&tex, GX_LINEAR, GX_LINEAR);
GX_InitTexObjFilterMode(&interframeTex, GX_LINEAR, GX_LINEAR);
break; break;
} }
} }
@ -1071,9 +1073,11 @@ void _incrementScreenMode(struct mGUIRunner* runner) {
case FM_LINEAR_2x: case FM_LINEAR_2x:
default: default:
GX_InitTexObjFilterMode(&tex, GX_NEAR, GX_NEAR); GX_InitTexObjFilterMode(&tex, GX_NEAR, GX_NEAR);
GX_InitTexObjFilterMode(&interframeTex, GX_NEAR, GX_NEAR);
break; break;
case FM_LINEAR_1x: case FM_LINEAR_1x:
GX_InitTexObjFilterMode(&tex, GX_LINEAR, GX_LINEAR); GX_InitTexObjFilterMode(&tex, GX_LINEAR, GX_LINEAR);
GX_InitTexObjFilterMode(&interframeTex, GX_LINEAR, GX_LINEAR);
break; break;
} }
} }