mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-29 11:20:40 +00:00
One more warning fix.
This commit is contained in:
parent
58411136ee
commit
1059f99d69
@ -88,9 +88,9 @@ WindowsHost::WindowsHost(HWND mainWindow) {
|
||||
input.push_back(std::shared_ptr<InputDevice>(new XinputDevice()));
|
||||
//find all connected DInput devices of class GamePad
|
||||
size_t numDInputDevs = DinputDevice::getNumPads();
|
||||
for (int i = 0; i < numDInputDevs; i++)
|
||||
for (size_t i = 0; i < numDInputDevs; i++)
|
||||
{
|
||||
input.push_back(std::shared_ptr<InputDevice>(new DinputDevice(i)));
|
||||
input.push_back(std::shared_ptr<InputDevice>(new DinputDevice(static_cast<int>(i))));
|
||||
}
|
||||
keyboard = std::shared_ptr<KeyboardDevice>(new KeyboardDevice());
|
||||
input.push_back(keyboard);
|
||||
|
Loading…
Reference in New Issue
Block a user