Difference for arch/win32/joyhh.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 46
 
Line 46
 #include "types.h"  #include "types.h"
 #include "joy.h"  #include "joy.h"
 #include "timer.h"  #include "timer.h"
   #include "args.h"
   
 #define my_hwnd g_hWnd // D1X compatibility  #define my_hwnd g_hWnd // D1X compatibility
 extern HWND g_hWnd;  extern HWND g_hWnd;
Line 293
 
Line 294
  int i;   int i;
         int temp_axis[JOY_NUM_AXES];       //changed - orulz          int temp_axis[JOY_NUM_AXES];       //changed - orulz
  JOYCAPS pjc;   JOYCAPS pjc;
   
    if (FindArg( "-nojoystick" ))
    return 0;
   
  atexit(joy_close); //HH: we are a bit lazy :). Errors are ignored, so we are even double-lazy :)   atexit(joy_close); //HH: we are a bit lazy :). Errors are ignored, so we are even double-lazy :)
   

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2