src/joystick/win32/SDL_dxjoystick.c
branchgsoc2008_force_feedback
changeset 2579 bd2a6c70cb29
parent 2577 72b17d80b426
child 2580 64fa227c01ce
     1.1 --- a/src/joystick/win32/SDL_dxjoystick.c	Sun Aug 03 10:20:31 2008 +0000
     1.2 +++ b/src/joystick/win32/SDL_dxjoystick.c	Sun Aug 03 10:25:25 2008 +0000
     1.3 @@ -48,9 +48,9 @@
     1.4      /* Used for the c_dfDIJoystick2 symbol (no imports are used) */
     1.5  #   pragma comment (lib, "dinput.lib")
     1.6  #endif
     1.7 -#include <dxerr9.h>             /* From DirectX SDK 9c */
     1.8 +#include <dxerr.h>
     1.9  #ifdef _MSC_VER
    1.10 -#   pragma comment (lib, "dxerr9.lib")
    1.11 +#   pragma comment (lib, "dxerr.lib")
    1.12  #endif
    1.13  
    1.14  /* an ISO hack for VisualC++ */
    1.15 @@ -127,7 +127,7 @@
    1.16  SetDIerror(const char *function, HRESULT code)
    1.17  {
    1.18      SDL_SetError("%s() [%s]: %s", function,
    1.19 -                 DXGetErrorString9(code), DXGetErrorDescription9(code));
    1.20 +                 DXGetErrorString(code), DXGetErrorDescription(code));
    1.21  }
    1.22  
    1.23