Skip to content

Commit

Permalink
Fix missing initialization if JoystickEmul variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdoeffinger committed Dec 18, 2017
1 parent 7914916 commit f81234d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion impl11/ddraw/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Config::Config()
this->Fullscreen = 0;
this->Width = 0;
this->Height = 0;
this->JoystickEmul = -1;
this->MouseSensitivity = 0.5f;
this->KbdSensitivity = 1.0f;
this->XWAMode = true;
Expand All @@ -44,8 +45,8 @@ Config::Config()

this->Concourse3DScale = 0.6f;

this->RefreshLimit = 1;
this->PresentSleepTime = -1;
this->RefreshLimit = 1;

// Try to always load config from executable path, not CWD
char execPath[MAX_PATH] = "";
Expand Down

0 comments on commit f81234d

Please sign in to comment.