mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Add new Console Icons to GUI
This commit is contained in:
parent
673a2de9c1
commit
7dd26f974f
13 changed files with 222 additions and 110 deletions
|
@ -71,6 +71,7 @@ typedef struct chiaki_discovery_host_t
|
|||
#undef STRING_MEMBER
|
||||
} ChiakiDiscoveryHost;
|
||||
|
||||
CHIAKI_EXPORT bool chiaki_discovery_host_is_ps5(ChiakiDiscoveryHost *host);
|
||||
|
||||
CHIAKI_EXPORT int chiaki_discovery_packet_fmt(char *buf, size_t buf_size, ChiakiDiscoveryPacket *packet);
|
||||
|
||||
|
|
|
@ -32,6 +32,12 @@ const char *chiaki_discovery_host_state_string(ChiakiDiscoveryHostState state)
|
|||
}
|
||||
}
|
||||
|
||||
CHIAKI_EXPORT bool chiaki_discovery_host_is_ps5(ChiakiDiscoveryHost *host)
|
||||
{
|
||||
return host->device_discovery_protocol_version
|
||||
&& !strcmp(host->device_discovery_protocol_version, CHIAKI_DISCOVERY_PROTOCOL_VERSION_PS5);
|
||||
}
|
||||
|
||||
CHIAKI_EXPORT int chiaki_discovery_packet_fmt(char *buf, size_t buf_size, ChiakiDiscoveryPacket *packet)
|
||||
{
|
||||
if(!packet->protocol_version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue