diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-15 02:59:12 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-15 02:59:12 +0200 |
commit | f4e723e690d29f23d77f66980f1c91c7a626e38e (patch) | |
tree | 38f567a7710dbf447fc3be9064e83ffbd399f9a0 | |
parent | All the sliders, unite (diff) | |
download | re3-f4e723e690d29f23d77f66980f1c91c7a626e38e.tar re3-f4e723e690d29f23d77f66980f1c91c7a626e38e.tar.gz re3-f4e723e690d29f23d77f66980f1c91c7a626e38e.tar.bz2 re3-f4e723e690d29f23d77f66980f1c91c7a626e38e.tar.lz re3-f4e723e690d29f23d77f66980f1c91c7a626e38e.tar.xz re3-f4e723e690d29f23d77f66980f1c91c7a626e38e.tar.zst re3-f4e723e690d29f23d77f66980f1c91c7a626e38e.zip |
-rw-r--r-- | src/skel/glfw/glfw.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp index 81f3b7b1..f8beee64 100644 --- a/src/skel/glfw/glfw.cpp +++ b/src/skel/glfw/glfw.cpp @@ -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 } |