mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
handle some warnings
This commit is contained in:
parent
d9ab2c7104
commit
34964e0e4f
13 changed files with 45 additions and 39 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifdef _WIN32
|
||||
#ifdef _WIN32
|
||||
#include "mm_joystick_handler.h"
|
||||
|
||||
mm_joystick_handler::mm_joystick_handler() : PadHandlerBase(pad_handler::mm)
|
||||
|
|
@ -244,7 +244,7 @@ void mm_joystick_handler::ThreadProc()
|
|||
TranslateButtonPress(btn.m_keyCode, btn.m_pressed, btn.m_value);
|
||||
}
|
||||
|
||||
s32 stick_val[4];
|
||||
s32 stick_val[4]{0};
|
||||
|
||||
// Translate any corresponding keycodes to our two sticks. (ignoring thresholds for now)
|
||||
for (int i = 0; i < static_cast<int>(pad->m_sticks.size()); i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue