From 21d470739a34df097c50c1554c1d9d8932ecd4a9 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Sat, 16 Jun 2001 18:41:36 +0000 Subject: [PATCH] Fixed input crash --- zsnes/src/win/winlink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 2d45e1fd..e88ee029 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -79,8 +79,8 @@ RECT rcWindow; LPDIRECTINPUT8 DInput = NULL; LPDIRECTINPUTDEVICE8 MouseInput = NULL; LPDIRECTINPUTDEVICE8 KeyboardInput = NULL; -LPDIRECTINPUTDEVICE8 JoystickInput[4]; -DIJOYSTATE js[4]; +LPDIRECTINPUTDEVICE8 JoystickInput[5]; +DIJOYSTATE js[5]; DWORD X1Disable[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; DWORD X2Disable[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};