From 219da4538eefd45907f4f336b28893db6f43bbb9 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 9 May 2021 23:21:24 -0700 Subject: [PATCH] 3DS: Remember to init cfg:u when querying model --- src/platform/3ds/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/platform/3ds/main.c b/src/platform/3ds/main.c index 218ce7f54..59f22ec8c 100644 --- a/src/platform/3ds/main.c +++ b/src/platform/3ds/main.c @@ -861,10 +861,12 @@ int main() { gfxInit(GSP_BGR8_OES, GSP_BGR8_OES, true); u8 model = 0; + cfguInit(); CFGU_GetSystemModel(&model); - if (model != 3 /* o2DS */) { + if (model != CFG_MODEL_2DS) { gfxSetWide(true); } + cfguExit(); if (!_initGpu()) { outputTexture[0].data = 0;