mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
np_is_server/np_is_spectate - cleanups
This commit is contained in:
parent
6cc60a2d02
commit
4fd2fee2a7
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue