diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2010-02-28 18:21:22 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2010-02-28 18:21:22 +0000 |
| commit | 80d303222b43ae07ad58540da77492b573857748 (patch) | |
| tree | 3112c7093ba052dc72fff97660dac9153c2a5e81 /Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp | |
| parent | cff39f53829d1bc40ac3dfbf18eac4ae30d1d14d (diff) | |
code cleanup, focusing on dsp hle
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5143 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp index 744d1b1562..884fff0565 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp @@ -18,7 +18,6 @@ #include "Common.h"
#include "IniFile.h"
#include "VideoConfig.h"
-#include "../../../Core/Core/Src/ConfigManager.h" // FIXME
Config g_Config;
@@ -44,7 +43,7 @@ void Config::Load() {
std::string temp;
IniFile iniFile;
- iniFile.Load((std::string(File::GetUserPath(D_CONFIG_IDX)) + "gfx_software.ini").c_str()); + iniFile.Load((std::string(File::GetUserPath(D_CONFIG_IDX)) + "gfx_software.ini").c_str());
iniFile.Get("Hardware", "Fullscreen", &bFullscreen, 0); // Hardware
iniFile.Get("Hardware", "RenderToMainframe", &renderToMainframe, false);
@@ -55,11 +54,11 @@ void Config::Load() void Config::Save()
{
IniFile iniFile;
- iniFile.Load((std::string(File::GetUserPath(D_CONFIG_IDX)) + "gfx_software.ini").c_str()); + iniFile.Load((std::string(File::GetUserPath(D_CONFIG_IDX)) + "gfx_software.ini").c_str());
iniFile.Set("Hardware", "Fullscreen", bFullscreen);
iniFile.Set("Hardware", "RenderToMainframe", renderToMainframe);
- iniFile.Save((std::string(File::GetUserPath(D_CONFIG_IDX)) + "gfx_opengl.ini").c_str()); + iniFile.Save((std::string(File::GetUserPath(D_CONFIG_IDX)) + "gfx_opengl.ini").c_str());
}
|
