3DS: Remember to init cfg:u when querying model

This commit is contained in:
Vicki Pfau 2021-05-09 23:21:24 -07:00
parent d990f9bdb7
commit 219da4538e
1 changed files with 3 additions and 1 deletions

View File

@ -861,10 +861,12 @@ int main() {
gfxInit(GSP_BGR8_OES, GSP_BGR8_OES, true); gfxInit(GSP_BGR8_OES, GSP_BGR8_OES, true);
u8 model = 0; u8 model = 0;
cfguInit();
CFGU_GetSystemModel(&model); CFGU_GetSystemModel(&model);
if (model != 3 /* o2DS */) { if (model != CFG_MODEL_2DS) {
gfxSetWide(true); gfxSetWide(true);
} }
cfguExit();
if (!_initGpu()) { if (!_initGpu()) {
outputTexture[0].data = 0; outputTexture[0].data = 0;