From feba09f7a3e8d8e9b1ea2fe0d666c5be82941096 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Tue, 2 Feb 2010 21:56:29 +0000 Subject: Linux global build. At least the basic footwork is done here. Basic usage: "sudo scons install=global install" Hopefully this doesn't break builds on Macs. I have tested this on linux and windows. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4994 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp') diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp index d8fdefb11a..744d1b1562 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfig.cpp @@ -44,7 +44,7 @@ void Config::Load() { std::string temp; IniFile iniFile; - iniFile.Load(FULL_CONFIG_DIR "gfx_software.ini"); + 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 +55,11 @@ void Config::Load() void Config::Save() { IniFile iniFile; - iniFile.Load(FULL_CONFIG_DIR "gfx_software.ini"); + 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(FULL_CONFIG_DIR "gfx_opengl.ini"); + iniFile.Save((std::string(File::GetUserPath(D_CONFIG_IDX)) + "gfx_opengl.ini").c_str()); } -- cgit v1.2.3