all repos — mgba @ 580aec949cb5221b1cdc02b3f04f11537a09c181

mGBA Game Boy Advance Emulator

3DS: Fix garbage on borders of scaled screens
Vicki Pfau vi@endrift.com
Fri, 31 Jul 2020 22:21:33 -0700
commit

580aec949cb5221b1cdc02b3f04f11537a09c181

parent

21a23b3a7a862180dd057321c5fb317c7d9865c4

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

jump to
M CHANGESCHANGES

@@ -34,6 +34,7 @@ - GBA Video: Fix color of disabled screen

- SM83: Emulate HALT bug - SM83: Fix flags on little endian PowerPC Other fixes: + - 3DS: Fix garbage on borders of scaled screens - All: Improve export headers (fixes mgba.io/i/1738) - All: Correct format strings for some numbers on Windows (fixes mgba.io/i/1794) - All: Correct more format strings on Windows (fixes mgba.io/i/1817)
M src/platform/3ds/main.csrc/platform/3ds/main.c

@@ -859,6 +859,7 @@ _cleanup();

return 1; } + C3D_TexSetWrap(&upscaleBufferTex, GPU_CLAMP_TO_EDGE, GPU_CLAMP_TO_EDGE); C3D_TexSetFilter(&upscaleBufferTex, GPU_LINEAR, GPU_LINEAR); int i;