mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 08:49:20 +01: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)
|
for (PlayerId& mapping : m_pad_map)
|
||||||
{
|
{
|
||||||
if (mapping == Unmapped)
|
// 0 means unmapped
|
||||||
|
if (mapping == 0)
|
||||||
{
|
{
|
||||||
mapping = player.pid;
|
mapping = player.pid;
|
||||||
break;
|
break;
|
||||||
|
@ -103,12 +103,6 @@ private:
|
|||||||
AllExcept
|
AllExcept
|
||||||
};
|
};
|
||||||
|
|
||||||
enum MappedState
|
|
||||||
{
|
|
||||||
Unmapped,
|
|
||||||
Mapped
|
|
||||||
};
|
|
||||||
|
|
||||||
struct AsyncQueueEntry
|
struct AsyncQueueEntry
|
||||||
{
|
{
|
||||||
sf::Packet packet;
|
sf::Packet packet;
|
||||||
|
@ -36,7 +36,7 @@ struct SyncIdentifier
|
|||||||
|
|
||||||
// The order of entries in this enum matters, as the lowest value is
|
// The order of entries in this enum matters, as the lowest value is
|
||||||
// treated as the "best" available option.
|
// treated as the "best" available option.
|
||||||
enum class SyncIdentifierComparison
|
enum class SyncIdentifierComparison : u8
|
||||||
{
|
{
|
||||||
SameGame,
|
SameGame,
|
||||||
DifferentHash,
|
DifferentHash,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user