all repos — mgba @ 39c6bb2de633139b0b35a741fec9de07f44f8810

mGBA Game Boy Advance Emulator

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

39c6bb2de633139b0b35a741fec9de07f44f8810

parent

57ad73528089e71f17f48965891b2825226b1c2c

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);