VideoConfig: Use "GFX.ini" for both D3D and OGL.

They share the same format, so there is no need to separate their configs.
This commit is contained in:
degasus
2015-12-19 11:00:05 +01:00
parent 0a42a0ab1b
commit ad1f7576ad
5 changed files with 70 additions and 62 deletions

View File

@ -145,7 +145,10 @@ bool VideoBackend::Initialize(void* window_handle)
frameCount = 0;
g_Config.Load(File::GetUserPath(D_CONFIG_IDX) + "gfx_opengl.ini");
if (File::Exists(File::GetUserPath(D_CONFIG_IDX) + "GFX.ini"))
g_Config.Load(File::GetUserPath(D_CONFIG_IDX) + "GFX.ini");
else
g_Config.Load(File::GetUserPath(D_CONFIG_IDX) + "gfx_opengl.ini");
g_Config.GameIniLoad();
g_Config.UpdateProjectionHack();
g_Config.VerifyValidity();