mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 06:18:59 +00:00
Fix .ini fix for glfw
This commit is contained in:
parent
0db14d718c
commit
f4e723e690
1 changed files with 6 additions and 4 deletions
|
@ -2049,10 +2049,12 @@ main(int argc, char *argv[])
|
|||
|
||||
#ifdef LOAD_INI_SETTINGS
|
||||
LoadINIControllerSettings();
|
||||
if (connectedPadButtons != 0) {
|
||||
ControlsManager.InitDefaultControlConfigJoyPad(connectedPadButtons);
|
||||
SaveINIControllerSettings();
|
||||
}
|
||||
if (connectedPadButtons != 0)
|
||||
ControlsManager.InitDefaultControlConfigJoyPad(connectedPadButtons); // add (connected-saved) amount of new button assignments on top of ours
|
||||
|
||||
// these have 2 purposes: creating .ini at the start, and adding newly introduced settings to old .ini at the start
|
||||
SaveINISettings();
|
||||
SaveINIControllerSettings();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue