mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-13 03:29:24 +00:00
Core: Fix some warnings
This commit is contained in:
parent
6962d5bc52
commit
0691971d82
5 changed files with 15 additions and 11 deletions
|
@ -1215,13 +1215,13 @@ bool NetPlayServer::StartGame()
|
|||
spac << m_settings.m_SyncCodes;
|
||||
spac << m_settings.m_SyncAllWiiSaves;
|
||||
|
||||
for (int i = 0; i < m_settings.m_WiimoteExtension.size(); i++)
|
||||
for (size_t i = 0; i < m_settings.m_WiimoteExtension.size(); i++)
|
||||
{
|
||||
const int extension =
|
||||
static_cast<ControllerEmu::Extension*>(
|
||||
static_cast<WiimoteEmu::Wiimote*>(Wiimote::GetConfig()->GetController(i))
|
||||
->GetWiimoteGroup(WiimoteEmu::WiimoteGroup::Extension))
|
||||
->switch_extension;
|
||||
const int extension = static_cast<ControllerEmu::Extension*>(
|
||||
static_cast<WiimoteEmu::Wiimote*>(
|
||||
Wiimote::GetConfig()->GetController(static_cast<int>(i)))
|
||||
->GetWiimoteGroup(WiimoteEmu::WiimoteGroup::Extension))
|
||||
->switch_extension;
|
||||
spac << extension;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue