diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-16 09:09:39 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-16 09:09:39 +0200 |
commit | d7e764d519a9b96969786a99494eba8c3af988b9 (patch) | |
tree | 811331933b6959a1071d452536c4eca7873621ac /src/skel/win/win.cpp | |
parent | Merge branch 'lcs' of github.com:GTAmodding/re3 into lcs (diff) | |
parent | PS2 audio reflections (diff) | |
download | re3-d7e764d519a9b96969786a99494eba8c3af988b9.tar re3-d7e764d519a9b96969786a99494eba8c3af988b9.tar.gz re3-d7e764d519a9b96969786a99494eba8c3af988b9.tar.bz2 re3-d7e764d519a9b96969786a99494eba8c3af988b9.tar.lz re3-d7e764d519a9b96969786a99494eba8c3af988b9.tar.xz re3-d7e764d519a9b96969786a99494eba8c3af988b9.tar.zst re3-d7e764d519a9b96969786a99494eba8c3af988b9.zip |
Diffstat (limited to 'src/skel/win/win.cpp')
-rw-r--r-- | src/skel/win/win.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index a6d8bea8..639f6272 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -2179,10 +2179,12 @@ WinMain(HINSTANCE instance, #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 } |