3DS: Turn on the threaded renderer for N3DSes running as CIAs

This commit is contained in:
Jeffrey Pfau 2016-08-05 22:46:23 -07:00
parent 3e9a1a399e
commit 98fd8a7532
1 changed files with 7 additions and 0 deletions

View File

@ -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);