mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Buildfix
This commit is contained in:
parent
4f2566ad50
commit
70f57974c7
6
deps/discord-rpc/src/rpc_connection.cpp
vendored
6
deps/discord-rpc/src/rpc_connection.cpp
vendored
@ -3,8 +3,6 @@
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include <string/stdstring.h>
|
||||
|
||||
static const int RpcVersion = 1;
|
||||
static RpcConnection Instance;
|
||||
|
||||
@ -41,8 +39,8 @@ void RpcConnection::Open()
|
||||
const char *cmd = GetStrMember(&message, "cmd");
|
||||
const char *evt = GetStrMember(&message, "evt");
|
||||
if (cmd && evt
|
||||
&& string_is_equal(cmd, "DISPATCH")
|
||||
&& string_is_equal(evt, "READY"))
|
||||
&& !strcmp(cmd, "DISPATCH")
|
||||
&& !strcmp(evt, "READY"))
|
||||
{
|
||||
state = State::Connected;
|
||||
if (onConnect)
|
||||
|
Loading…
x
Reference in New Issue
Block a user