mirror of https://github.com/mgba-emu/mgba.git
3DS: Remember to init cfg:u when querying model (fixes #2167)
This commit is contained in:
parent
0ce2972fe6
commit
8089cf8f5f
1
CHANGES
1
CHANGES
|
@ -3,6 +3,7 @@ Emulation fixes:
|
|||
- GB Video: Clear VRAM on reset (fixes mgba.io/i/2152)
|
||||
- GBA Video: Revert scanline latching changes (fixes mgba.io/i/2153, mgba.io/i/2149)
|
||||
Other fixes:
|
||||
- 3DS: Fix disabling "wide" mode on 2DS (fixes mgba.io/i/2167)
|
||||
- Core: Fix memory leak in opening games from the library
|
||||
- GB Core: Fix GBC colors setting breaking default model overrides (fixes mgba.io/i/2161)
|
||||
- Qt: Fix infrequent deadlock when using sync to video
|
||||
|
|
|
@ -845,10 +845,12 @@ int main() {
|
|||
gfxInit(GSP_BGR8_OES, GSP_BGR8_OES, true);
|
||||
|
||||
u8 model = 0;
|
||||
cfguInit();
|
||||
CFGU_GetSystemModel(&model);
|
||||
if (model != 3 /* o2DS */) {
|
||||
gfxSetWide(true);
|
||||
}
|
||||
cfguExit();
|
||||
|
||||
if (!_initGpu()) {
|
||||
outputTexture[0].data = 0;
|
||||
|
|
Loading…
Reference in New Issue