OpenGL: Fixed the screenshot function now that I found all the buffers

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3366 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-06-08 00:44:48 +00:00
parent c779f95b87
commit 09a295779d
7 changed files with 123 additions and 129 deletions

View File

@ -36,7 +36,7 @@ void Config::Load()
// get resolution
iniFile.Get("Hardware", "WindowedRes", &temp, "640x480");
strncpy(iWindowedRes, temp.c_str(), 16);
strncpy(iInternalRes, temp.c_str(), 16);
// apply this to the fullscreen resolution too
strncpy(iFSResolution, temp.c_str(), 16);
@ -129,7 +129,7 @@ void Config::Save()
{
IniFile iniFile;
iniFile.Load(FULL_CONFIG_DIR "gfx_opengl.ini");
iniFile.Set("Hardware", "WindowedRes", iWindowedRes);
iniFile.Set("Hardware", "WindowedRes", iInternalRes);
iniFile.Set("Hardware", "FullscreenRes", iFSResolution);
iniFile.Set("Hardware", "Fullscreen", bFullscreen);
iniFile.Set("Hardware", "VSync", bVSync);