- DirectInput cleanup

Removing ancient code that's only useful on pre-XP OSs.
This commit is contained in:
Christoph Oelckers 2022-07-20 14:41:06 +02:00
commit d2454d4b3b
4 changed files with 11 additions and 79 deletions

View file

@ -169,7 +169,7 @@ void M_SaveJoystickConfig(IJoystickConfig *joy)
char key[32], value[32];
int axislen, numaxes;
if (M_SetJoystickConfigSection(joy, true))
if (GameConfig != NULL && M_SetJoystickConfigSection(joy, true))
{
GameConfig->ClearCurrentSection();
if (!joy->IsSensitivityDefault())