OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de77eef
)
[CONFIG] Fix over loop.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Mon, 15 May 2017 18:58:46 +0000
(
03:58
+0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Mon, 15 May 2017 18:58:46 +0000
(
03:58
+0900)
source/src/config.cpp
patch
|
blob
|
history
diff --git
a/source/src/config.cpp
b/source/src/config.cpp
index
c68f233
..
fff0b21
100644
(file)
--- a/
source/src/config.cpp
+++ b/
source/src/config.cpp
@@
-675,7
+675,7
@@
void save_config(const _TCHAR *config_path)
// input
#ifdef USE_JOYSTICK
- for(int i = 0; i <
8
; i++) {
+ for(int i = 0; i <
4
; i++) {
for(int j = 0; j < 16; j++) {
MyWritePrivateProfileInt(_T("Input"), create_string(_T("JoyButtons%d_%d"), i + 1, j + 1), config.joy_buttons[i][j], config_path);
}