Add support for new HWR functions in win32 and sdl12
Fix second joystick in sdl