mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
jit: make everything configurable
This commit is contained in:
@ -48,6 +48,7 @@
|
||||
#include "../Wifi.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Config.h"
|
||||
#include "../ARMJIT.h"
|
||||
|
||||
#include "../Savestate.h"
|
||||
|
||||
@ -2408,19 +2409,11 @@ void ApplyNewSettings(int type)
|
||||
GPU3D::InitRenderer(Screen_UseGL);
|
||||
if (Screen_UseGL) uiGLMakeContextCurrent(NULL);
|
||||
}
|
||||
/*else if (type == 4) // vsync
|
||||
else if (type == 4)
|
||||
{
|
||||
if (Screen_UseGL)
|
||||
{
|
||||
uiGLMakeContextCurrent(GLContext);
|
||||
uiGLSetVSync(Config::ScreenVSync);
|
||||
uiGLMakeContextCurrent(NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO eventually: VSync for non-GL screen?
|
||||
}
|
||||
}*/
|
||||
if (Config::JIT_Enable)
|
||||
ARMJIT::InvalidateBlockCache();
|
||||
}
|
||||
|
||||
EmuRunning = prevstatus;
|
||||
}
|
||||
|
Reference in New Issue
Block a user