OSDN Git Service

[WIN32][CONFIG] Get rid of Assigned joystick.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Tue, 24 Sep 2019 22:52:59 +0000 (07:52 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Tue, 24 Sep 2019 22:52:59 +0000 (07:52 +0900)
source/src/config.cpp

index f34f5f9..d1cc909 100644 (file)
@@ -491,6 +491,7 @@ void DLL_PREFIX load_config(const _TCHAR *config_path)
                config.logwindow_width = MyGetPrivateProfileInt(_T("Qt"), _T("LogWindowWidth"), 800, config_path);
                config.logwindow_height = MyGetPrivateProfileInt(_T("Qt"), _T("LogWindowHeight"), 500, config_path);
                // Assigning joysticks.
+#if 0
                for(i = 0; i < 16; i++) {
                        _TCHAR name[256];
                        my_stprintf_s(name, 255, _T("AssignedJoystick%d"), i + 1);
@@ -498,7 +499,7 @@ void DLL_PREFIX load_config(const _TCHAR *config_path)
                                                                          config.assigned_joystick_name[i], 255, config_path);
                        printf("%d->%s\n", i, config.assigned_joystick_name[i]);
                }
-
+#endif
                
                // Movie load/save.
                config.video_width   = MyGetPrivateProfileInt(_T("Qt"), _T("VideoWidth"), 640, config_path);