mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #5593 from leoetlino/legacy-code
VideoConfig: Remove useless code
This commit is contained in:
commit
eefae402b3
@ -3,15 +3,9 @@
|
|||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cmath>
|
|
||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Common/FileUtil.h"
|
|
||||||
#include "Common/IniFile.h"
|
|
||||||
#include "Common/MsgHandler.h"
|
|
||||||
#include "Common/StringUtil.h"
|
|
||||||
#include "Core/Config/GraphicsSettings.h"
|
#include "Core/Config/GraphicsSettings.h"
|
||||||
#include "Core/ConfigManager.h"
|
|
||||||
#include "Core/Core.h"
|
#include "Core/Core.h"
|
||||||
#include "Core/Movie.h"
|
#include "Core/Movie.h"
|
||||||
#include "VideoCommon/OnScreenDisplay.h"
|
#include "VideoCommon/OnScreenDisplay.h"
|
||||||
@ -159,14 +153,6 @@ void VideoConfig::Refresh()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load common settings
|
|
||||||
IniFile iniFile;
|
|
||||||
iniFile.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX));
|
|
||||||
IniFile::Section* interface = iniFile.GetOrCreateSection("Interface");
|
|
||||||
bool bTmp;
|
|
||||||
interface->Get("UsePanicHandlers", &bTmp, true);
|
|
||||||
SetEnableAlert(bTmp);
|
|
||||||
|
|
||||||
VerifyValidity();
|
VerifyValidity();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user