all repos — mgba @ 394b69b098c84ab289b1d865409fc8aaff127394

mGBA Game Boy Advance Emulator

3DS: Fix warning
Vicki Pfau vi@endrift.com
Mon, 01 Jun 2020 21:12:44 -0700
commit

394b69b098c84ab289b1d865409fc8aaff127394

parent

a87cde8e93f7ccf5bcd671f1c94accaa328407e1

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/3ds/main.csrc/platform/3ds/main.c

@@ -122,7 +122,7 @@ if (!topScreen[0] || !topScreen[1] || !bottomScreen[0] || !bottomScreen[1]) {

return false; } - if (!C3D_TexInitVRAM(&upscaleBufferTex, 512, 512, GPU_RB_RGB8)) { + if (!C3D_TexInitVRAM(&upscaleBufferTex, 512, 512, GPU_RGB8)) { return false; } upscaleBuffer = C3D_RenderTargetCreateFromTex(&upscaleBufferTex, GPU_TEXFACE_2D, 0, 0);