mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
NetPlay: Use std::array for the pad mappings
This commit is contained in:
@ -74,8 +74,9 @@ NetPlayServer::NetPlayServer(const u16 port, bool traversal, const std::string&
|
||||
PanicAlertT("Enet Didn't Initialize");
|
||||
}
|
||||
|
||||
memset(m_pad_map, -1, sizeof(m_pad_map));
|
||||
memset(m_wiimote_map, -1, sizeof(m_wiimote_map));
|
||||
m_pad_map.fill(-1);
|
||||
m_wiimote_map.fill(-1);
|
||||
|
||||
if (traversal)
|
||||
{
|
||||
if (!EnsureTraversalClient(centralServer, centralPort))
|
||||
|
Reference in New Issue
Block a user