mirror of https://github.com/mgba-emu/mgba.git
3DS: Turn on the threaded renderer for N3DSes running as CIAs
This commit is contained in:
parent
3e9a1a399e
commit
98fd8a7532
|
@ -215,6 +215,13 @@ static void _guiFinish(void) {
|
|||
}
|
||||
|
||||
static void _setup(struct mGUIRunner* runner) {
|
||||
bool isNew3DS;
|
||||
APT_CheckNew3DS(&isNew3DS);
|
||||
if (isNew3DS && !envIsHomebrew()) {
|
||||
mCoreConfigSetDefaultIntValue(&runner->core->config, "threadedVideo", 1);
|
||||
mCoreLoadConfig(runner->core);
|
||||
}
|
||||
|
||||
runner->core->setRotation(runner->core, &rotation.d);
|
||||
if (hasSound != NO_SOUND) {
|
||||
runner->core->setAVStream(runner->core, &stream);
|
||||
|
|
Loading…
Reference in New Issue