fixed compile problem and made changes to initialize memory cards when initializing input devices

This commit is contained in:
Vecais Dumais Laacis
2006-12-07 08:45:18 +00:00
parent 820f71c5f6
commit 8f7ed8f6de
2 changed files with 2 additions and 3 deletions
@@ -38,7 +38,7 @@ InputHandler_Xbox::InputHandler_Xbox()
//
// Init joysticks
//
XDEVICE_PREALLOC_TYPE xdpt[] = {{XDEVICE_TYPE_GAMEPAD, 4}};
XDEVICE_PREALLOC_TYPE xdpt[] = {{XDEVICE_TYPE_GAMEPAD, 4}, {XDEVICE_TYPE_MEMORY_UNIT, 2}};
XInitDevices( sizeof(xdpt) / sizeof(XDEVICE_PREALLOC_TYPE), xdpt );
ZeroMemory( joysticks, sizeof(joysticks) );