mirror of https://github.com/mgba-emu/mgba.git
3DS: Remember to init cfg:u when querying model
This commit is contained in:
parent
d990f9bdb7
commit
219da4538e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue