mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Added type to SyncIndentifierComparison enum in SyncIdentifier.h in an
attempt to fix a failed call to operator<< in SendResponse()
This commit is contained in:
parent
978b6a8724
commit
66276ac61b
@ -2049,7 +2049,8 @@ void NetPlayServer::AssignNewUserAPad(const Client& player)
|
||||
{
|
||||
for (PlayerId& mapping : m_pad_map)
|
||||
{
|
||||
if (mapping == Unmapped)
|
||||
// 0 means unmapped
|
||||
if (mapping == 0)
|
||||
{
|
||||
mapping = player.pid;
|
||||
break;
|
||||
|
@ -103,12 +103,6 @@ private:
|
||||
AllExcept
|
||||
};
|
||||
|
||||
enum MappedState
|
||||
{
|
||||
Unmapped,
|
||||
Mapped
|
||||
};
|
||||
|
||||
struct AsyncQueueEntry
|
||||
{
|
||||
sf::Packet packet;
|
||||
|
@ -36,7 +36,7 @@ struct SyncIdentifier
|
||||
|
||||
// The order of entries in this enum matters, as the lowest value is
|
||||
// treated as the "best" available option.
|
||||
enum class SyncIdentifierComparison
|
||||
enum class SyncIdentifierComparison : u8
|
||||
{
|
||||
SameGame,
|
||||
DifferentHash,
|
||||
|
Loading…
Reference in New Issue
Block a user