Core: Remove bRestartRequired config hack.

This commit is contained in:
Unknown W. Brackets 2017-04-15 16:34:25 -07:00
parent e8e65881b8
commit 960ffd2e85
3 changed files with 0 additions and 9 deletions

View file

@ -496,9 +496,6 @@ static ConfigSetting graphicsSettings[] = {
ReportedConfigSetting("AutoFrameSkip", &g_Config.bAutoFrameSkip, false, true, true), ReportedConfigSetting("AutoFrameSkip", &g_Config.bAutoFrameSkip, false, true, true),
ConfigSetting("FrameRate", &g_Config.iFpsLimit, 0, true, true), ConfigSetting("FrameRate", &g_Config.iFpsLimit, 0, true, true),
ConfigSetting("FrameSkipUnthrottle", &g_Config.bFrameSkipUnthrottle, &DefaultFrameskipUnthrottle, true, false), ConfigSetting("FrameSkipUnthrottle", &g_Config.bFrameSkipUnthrottle, &DefaultFrameskipUnthrottle, true, false),
#if defined(USING_WIN_UI)
ConfigSetting("RestartRequired", &g_Config.bRestartRequired, false, false),
#endif
ReportedConfigSetting("ForceMaxEmulatedFPS", &g_Config.iForceMaxEmulatedFPS, 60, true, true), ReportedConfigSetting("ForceMaxEmulatedFPS", &g_Config.iForceMaxEmulatedFPS, 60, true, true),
// TODO: Hm, on fast mobile GPUs we should definitely default to at least 4 (setting = 2)... // TODO: Hm, on fast mobile GPUs we should definitely default to at least 4 (setting = 2)...

View file

@ -113,8 +113,6 @@ public:
bool bTopMost; bool bTopMost;
std::string sFont; std::string sFont;
bool bIgnoreWindowsKey; bool bIgnoreWindowsKey;
bool bRestartRequired;
#endif #endif
bool bPauseWhenMinimized; bool bPauseWhenMinimized;

View file

@ -572,10 +572,6 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
LogManager::Shutdown(); LogManager::Shutdown();
if (g_Config.bRestartRequired) {
W32Util::ExitAndRestart();
}
net::Shutdown(); net::Shutdown();
CoUninitialize(); CoUninitialize();