mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
GL plugin now centers video output, you can set it to render to the full window and FPS can be shown. FPS and stretch to Window res is set in INI. Maybe also the window res actually changes correctly when resizing window in Windows?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@287 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
|
||||
#include "IniFile.h"
|
||||
#include <assert.h>
|
||||
float MValue;
|
||||
float MValueX, MValueY; // Since it can Stretch to fit Window, we need two different multiplication values//
|
||||
int frameCount;
|
||||
|
||||
Config g_Config;
|
||||
@ -82,6 +82,8 @@ void Config::Load()
|
||||
|
||||
iniFile.Get("Enhancements", "ForceFiltering", &bForceFiltering, 0);
|
||||
iniFile.Get("Enhancements", "ForceMaxAniso", &bForceMaxAniso, 0);
|
||||
iniFile.Get("Enhancements", "StretchToFit", &bStretchToFit, false);
|
||||
iniFile.Get("Enhancements", "ShowFPS", &bShowFPS, false);
|
||||
}
|
||||
|
||||
void Config::Save()
|
||||
@ -107,6 +109,8 @@ void Config::Save()
|
||||
|
||||
iniFile.Set("Enhancements", "ForceFiltering", bForceFiltering);
|
||||
iniFile.Set("Enhancements", "ForceMaxAniso", bForceMaxAniso);
|
||||
iniFile.Set("Enhancements", "StretchToFit", bStretchToFit);
|
||||
iniFile.Set("Enhancements", "ShowFPS", bShowFPS);
|
||||
iniFile.Save("gfx_opengl.ini");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user