mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-19 07:21:40 +00:00
More stuff
This commit is contained in:
parent
ae6ac5b439
commit
804938e9fc
6 changed files with 126 additions and 52 deletions
|
@ -43,6 +43,7 @@ VideoConfig::VideoConfig()
|
|||
backend_info.APIType = API_NONE;
|
||||
backend_info.bUseRGBATextures = false;
|
||||
backend_info.bSupports3DVision = false;
|
||||
backend_info.bSupportsGLSL = false;
|
||||
}
|
||||
|
||||
void VideoConfig::Load(const char *ini_file)
|
||||
|
@ -92,6 +93,7 @@ void VideoConfig::Load(const char *ini_file)
|
|||
iniFile.Get("Settings", "DisableLighting", &bDisableLighting, 0);
|
||||
iniFile.Get("Settings", "DisableTexturing", &bDisableTexturing, 0);
|
||||
iniFile.Get("Settings", "DisableFog", &bDisableFog, 0);
|
||||
iniFile.Get("Settings", "UseGLSL", &bUseGLSL, 0);
|
||||
|
||||
iniFile.Get("Settings", "EnableOpenCL", &bEnableOpenCL, false);
|
||||
iniFile.Get("Settings", "OMPDecoder", &bOMPDecoder, false);
|
||||
|
@ -232,7 +234,7 @@ void VideoConfig::Save(const char *ini_file)
|
|||
iniFile.Set("Settings", "DisableTexturing", bDisableTexturing);
|
||||
iniFile.Set("Settings", "DstAlphaPass", bDstAlphaPass);
|
||||
iniFile.Set("Settings", "DisableFog", bDisableFog);
|
||||
iniFile.Set("Settings", "bUseGLSL", bUseGLSL);
|
||||
iniFile.Set("Settings", "UseGLSL", bUseGLSL);
|
||||
|
||||
iniFile.Set("Settings", "EnableOpenCL", bEnableOpenCL);
|
||||
iniFile.Set("Settings", "OMPDecoder", bOMPDecoder);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue