jit: make everything configurable

This commit is contained in:
RSDuck
2019-07-14 04:33:36 +02:00
committed by RSDuck
parent dcf6e1cad2
commit 9d76d63af5
12 changed files with 192 additions and 46 deletions

View File

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