mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Initialise iDisplayRefreshRate
to 60.
Fixes tests as code would read an uninitialised value before the config's constructor gets to run.
This commit is contained in:
parent
7af15c73bc
commit
1aec09a056
2 changed files with 2 additions and 2 deletions
|
@ -694,7 +694,7 @@ static const ConfigSetting graphicsSettings[] = {
|
|||
ConfigSetting("UberShaderVertex", &g_Config.bUberShaderVertex, true, CfgFlag::DEFAULT),
|
||||
ConfigSetting("UberShaderFragment", &g_Config.bUberShaderFragment, true, CfgFlag::DEFAULT),
|
||||
|
||||
ConfigSetting("DisplayRefreshRate", &g_Config.iDisplayRefreshRate, 60, CfgFlag::PER_GAME),
|
||||
ConfigSetting("DisplayRefreshRate", &g_Config.iDisplayRefreshRate, g_Config.iDisplayRefreshRate, CfgFlag::PER_GAME),
|
||||
};
|
||||
|
||||
static const ConfigSetting soundSettings[] = {
|
||||
|
|
|
@ -160,7 +160,7 @@ public:
|
|||
std::string sMicDevice;
|
||||
bool bCameraMirrorHorizontal;
|
||||
int iDisplayFramerateMode; // enum DisplayFramerateMode. Android-only.
|
||||
int iDisplayRefreshRate;
|
||||
int iDisplayRefreshRate = 60;
|
||||
|
||||
bool bSoftwareRendering;
|
||||
bool bSoftwareRenderingJit;
|
||||
|
|
Loading…
Add table
Reference in a new issue