From 98fd8a7532b9ff9e793c4e6b174f1652617f3dee Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Fri, 5 Aug 2016 22:46:23 -0700 Subject: [PATCH] 3DS: Turn on the threaded renderer for N3DSes running as CIAs --- src/platform/3ds/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/platform/3ds/main.c b/src/platform/3ds/main.c index 131a6c64c..acc152da4 100644 --- a/src/platform/3ds/main.c +++ b/src/platform/3ds/main.c @@ -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);