# HG changeset patch # User Edgar Simo # Date 1217759125 0 # Node ID bd2a6c70cb298ac960b13bc92775bcb84c89cc3f # Parent 72c4ac55f73c48bfae20d8849763efa740a73f15 Used dxerr instead of dxerr9 in directinput joystick driver. diff -r 72c4ac55f73c -r bd2a6c70cb29 src/joystick/win32/SDL_dxjoystick.c --- a/src/joystick/win32/SDL_dxjoystick.c Sun Aug 03 10:20:31 2008 +0000 +++ b/src/joystick/win32/SDL_dxjoystick.c Sun Aug 03 10:25:25 2008 +0000 @@ -48,9 +48,9 @@ /* Used for the c_dfDIJoystick2 symbol (no imports are used) */ # pragma comment (lib, "dinput.lib") #endif -#include /* From DirectX SDK 9c */ +#include #ifdef _MSC_VER -# pragma comment (lib, "dxerr9.lib") +# pragma comment (lib, "dxerr.lib") #endif /* an ISO hack for VisualC++ */ @@ -127,7 +127,7 @@ SetDIerror(const char *function, HRESULT code) { SDL_SetError("%s() [%s]: %s", function, - DXGetErrorString9(code), DXGetErrorDescription9(code)); + DXGetErrorString(code), DXGetErrorDescription(code)); }