From c4149156c253de467024a9eb582498fe32fcea98 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Mon, 18 Jun 2001 19:40:36 +0000 Subject: [PATCH] Fixed DirectInput shutdown bug --- zsnes/src/win/winlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index c6128592..41f893aa 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -892,7 +892,7 @@ void ReleaseDirectInput() KeyboardInput = NULL; } - for(int i = 0; i < 4; i++) + for (int i=0; i<5; i++) if (JoystickInput[i]) { JoystickInput[i]->Release();