diff options
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/win_input.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/win32/win_input.c b/src/win32/win_input.c index ccf1e2e0..e7253860 100644 --- a/src/win32/win_input.c +++ b/src/win32/win_input.c @@ -938,8 +938,8 @@ void IN_JoyMove( void ) { if ( in_debugJoystick->integer ) { Com_Printf( "%8x %5i %5.2f %5.2f %5.2f %5.2f %6i %6i\n", - joy.ji.dwButtons, - joy.ji.dwPOV, + JoyToI( joy.ji.dwButtons ), + JoyToI( joy.ji.dwPOV ), JoyToF( joy.ji.dwXpos ), JoyToF( joy.ji.dwYpos ), JoyToF( joy.ji.dwZpos ), JoyToF( joy.ji.dwRpos ), JoyToI( joy.ji.dwUpos ), JoyToI( joy.ji.dwVpos ) ); @@ -1131,7 +1131,8 @@ static void IN_StartupMIDI( void ) ( unsigned long ) NULL, CALLBACK_FUNCTION ) != MMSYSERR_NOERROR ) { - Com_Printf( "WARNING: could not open MIDI device %d: '%s'\n", in_mididevice->integer , s_midiInfo.caps[( int ) in_mididevice->value] ); + Com_Printf( "WARNING: could not open MIDI device %d: '%s'\n", + in_mididevice->integer , s_midiInfo.caps[( int ) in_mididevice->value].szPname ); return; } |