mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
np_is_server/np_is_spectate - cleanups
This commit is contained in:
parent
6cc60a2d02
commit
4fd2fee2a7
@ -312,10 +312,14 @@ bool np_get_info(netplay_t *netplay)
|
||||
|
||||
bool np_is_server(netplay_t* netplay)
|
||||
{
|
||||
if (!netplay)
|
||||
return false;
|
||||
return netplay->is_server;
|
||||
}
|
||||
|
||||
bool np_is_spectate(netplay_t* netplay)
|
||||
{
|
||||
if (!netplay)
|
||||
return false;
|
||||
return netplay->spectate.enabled;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user