mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Netplay message for input devices not available.
This commit is contained in:
parent
fff95facc7
commit
c2923f5504
@ -126,6 +126,10 @@ MSG_HASH(
|
||||
MSG_NETPLAY_CANNOT_PLAY_NO_SLOTS,
|
||||
"There are no free player slots"
|
||||
)
|
||||
MSG_HASH(
|
||||
MSG_NETPLAY_CANNOT_PLAY_NOT_AVAILABLE,
|
||||
"The input devices requested are not available"
|
||||
)
|
||||
MSG_HASH(
|
||||
MSG_NETPLAY_CANNOT_PLAY,
|
||||
"Cannot switch to play mode"
|
||||
|
@ -179,6 +179,7 @@ enum msg_hash_enums
|
||||
MSG_NETPLAY_CLIENT_HANGUP,
|
||||
MSG_NETPLAY_CANNOT_PLAY_UNPRIVILEGED,
|
||||
MSG_NETPLAY_CANNOT_PLAY_NO_SLOTS,
|
||||
MSG_NETPLAY_CANNOT_PLAY_NOT_AVAILABLE,
|
||||
MSG_NETPLAY_CANNOT_PLAY,
|
||||
MSG_NETPLAY_PEER_PAUSED,
|
||||
MSG_NETPLAY_CHANGED_NICK,
|
||||
|
@ -1508,6 +1508,10 @@ static bool netplay_get_cmd(netplay_t *netplay,
|
||||
dmsg = msg_hash_to_str(MSG_NETPLAY_CANNOT_PLAY_NO_SLOTS);
|
||||
break;
|
||||
|
||||
case NETPLAY_CMD_MODE_REFUSED_REASON_NOT_AVAILABLE:
|
||||
dmsg = msg_hash_to_str(MSG_NETPLAY_CANNOT_PLAY_NOT_AVAILABLE);
|
||||
break;
|
||||
|
||||
default:
|
||||
dmsg = msg_hash_to_str(MSG_NETPLAY_CANNOT_PLAY);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user