Mercurial > sdl-ios-xcode
changeset 2579:bd2a6c70cb29 gsoc2008_force_feedback
Used dxerr instead of dxerr9 in directinput joystick driver.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Sun, 03 Aug 2008 10:25:25 +0000 |
parents | 72c4ac55f73c |
children | 64fa227c01ce |
files | src/joystick/win32/SDL_dxjoystick.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <dxerr9.h> /* From DirectX SDK 9c */ +#include <dxerr.h> #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)); }