diff --git a/.gitignore b/.gitignore index 9dc84185..bbd542c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ # Exclude obj directory (object files for Makefile build) /obj -# Exclude executables (English) +# Exclude executables /game_english/CSE2_debug.exe /game_english/DoConfig_debug.exe /game_english/CSE2.exe @@ -10,8 +10,6 @@ /game_english/DoConfig_debug /game_english/CSE2 /game_english/DoConfig - -# Exclude executables (Japanese) /game_japanese/CSE2_debug.exe /game_japanese/DoConfig_debug.exe /game_japanese/CSE2.exe @@ -21,6 +19,14 @@ /game_japanese/CSE2 /game_japanese/DoConfig +# Exclude save data +/game_english/Config.dat +/game_english/Profile.dat +/game_english/290.rec +/game_japanese/Config.dat +/game_japanese/Profile.dat +/game_japanese/290.rec + #### # Accurate branch #### diff --git a/src/Input.cpp b/src/Input.cpp index 451776fa..442fc972 100644 --- a/src/Input.cpp +++ b/src/Input.cpp @@ -26,13 +26,13 @@ void ReleaseDirectInput(void) } // It looks like Pixel declared his functions early, so he could forward-reference -BOOL HookDirectInputDevice(void); +BOOL FindAndOpenDirectInputDevice(void); BOOL InitDirectInput(void) { SDL_InitSubSystem(SDL_INIT_JOYSTICK); - if (!HookDirectInputDevice()) + if (!FindAndOpenDirectInputDevice()) return FALSE; return TRUE; @@ -40,7 +40,7 @@ BOOL InitDirectInput(void) // The original name for this function and its variables are unknown. // This function finds and hooks the first available DirectInput device (or SDL Joystick, in this case). -BOOL HookDirectInputDevice(void) +BOOL FindAndOpenDirectInputDevice(void) { int i;