all repos — mgba @ 98fd8a7532b9ff9e793c4e6b174f1652617f3dee

mGBA Game Boy Advance Emulator

3DS: Turn on the threaded renderer for N3DSes running as CIAs
Jeffrey Pfau jeffrey@endrift.com
Fri, 05 Aug 2016 22:46:23 -0700
commit

98fd8a7532b9ff9e793c4e6b174f1652617f3dee

parent

3e9a1a399e00d15f2b7f9bf8dc9260319fb655c7

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M src/platform/3ds/main.csrc/platform/3ds/main.c

@@ -215,6 +215,13 @@ ctrFlushBatch();

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