diff --git a/src/frontend/qt_sdl/Config.cpp b/src/frontend/qt_sdl/Config.cpp index b8cf418e2a..21a1eca94e 100644 --- a/src/frontend/qt_sdl/Config.cpp +++ b/src/frontend/qt_sdl/Config.cpp @@ -54,7 +54,7 @@ DefaultList DefaultInts = {"Instance*.Window*.Width", 256}, {"Instance*.Window*.Height", 384}, {"Screen.VSyncInterval", 1}, - {"3D.Renderer", renderer3D_Software}, // melonPrimeDS. renderer3D_Software renderer3D_OpenGL renderer3D_OpenGLCompute: + {"3D.Renderer", renderer3D_OpenGLCompute}, // melonPrimeDS. renderer3D_Software renderer3D_OpenGL renderer3D_OpenGLCompute: {"3D.GL.ScaleFactor", 4}, // melonPrimeDS. 8 is too much 4 is enough #ifdef JIT_ENABLED {"JIT.MaxBlockSize", 32}, diff --git a/src/frontend/qt_sdl/EmuThread.cpp b/src/frontend/qt_sdl/EmuThread.cpp index 4a7ba58796..9418e3ddc3 100644 --- a/src/frontend/qt_sdl/EmuThread.cpp +++ b/src/frontend/qt_sdl/EmuThread.cpp @@ -1097,6 +1097,7 @@ void EmuThread::run() // MelonPrimeDS Functions START + emuInstance->setVSyncGL(false); // MelonPrimeDS VsyncAlwaysOff // auto isFocused = emuInstance->getMainWindow()->panel->getFocused(); bool isFocused = emuInstance->getMainWindow()->panel->getFocused(); @@ -1118,6 +1119,10 @@ void EmuThread::run() // Set the initialization complete flag hasInitialized = true; + // updateRenderer + videoRenderer = emuInstance->getGlobalConfig().GetInt("3D.Renderer"); + updateRenderer(); + // Hide cursor showCursorOnMelonPrimeDS(false); @@ -1660,6 +1665,9 @@ void EmuThread::run() showCursorOnMelonPrimeDS(true); } + videoRenderer = renderer3D_Software; + updateRenderer(); + if (emuInstance->isTouching) { emuInstance->nds->TouchScreen(emuInstance->touchX, emuInstance->touchY); } @@ -1762,6 +1770,12 @@ void EmuThread::handleMessages() emuInstance->audioEnable(); emit windowEmuPause(false); emuInstance->osdAddMessage(0, "Resumed"); + + // MelonPrimeDS { + // applyVideoSettings Immediately when resumed + videoRenderer = emuInstance->getGlobalConfig().GetInt("3D.Renderer"); + updateRenderer(); + // MelonPrimeDS } } break; diff --git a/src/frontend/qt_sdl/InputConfig/InputConfigDialog.ui b/src/frontend/qt_sdl/InputConfig/InputConfigDialog.ui index 7999b51efe..59ecc749cc 100644 --- a/src/frontend/qt_sdl/InputConfig/InputConfigDialog.ui +++ b/src/frontend/qt_sdl/InputConfig/InputConfigDialog.ui @@ -2335,16 +2335,15 @@ - - - - - Restarting melonPrimeDS required: - - - - - + + + + + Enable SnapTap (Faster directional switching for smooth strafing) + + + + @@ -2358,7 +2357,7 @@ - Video quality: High (Excellent in-game graphics, but menus flicker) + Video quality: High (Lower Performance, Menu flickering) @@ -2367,19 +2366,11 @@ - Video quality: High2 (Excellent in-game graphics, but menus flicker) (Fast but unstable) + Video quality: High2 (Recommended. Best Performance, Menu flickering, Minor Visual Glitches) - - - - - Enable SnapTap - - -