mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2025-02-02 04:51:05 +00:00
yup
This commit is contained in:
parent
ea64751f70
commit
b1399f9ed5
|
@ -51,7 +51,6 @@ extern "C" void Discord_UpdatePresence(const DiscordRichPresence* presence)
|
||||||
extern "C" void Discord_Update()
|
extern "C" void Discord_Update()
|
||||||
{
|
{
|
||||||
while (auto frame = MyConnection->Read()) {
|
while (auto frame = MyConnection->Read()) {
|
||||||
printf("got a message %d, %d, %s\n", frame->opcode, frame->length, frame->message);
|
|
||||||
rapidjson::Document d;
|
rapidjson::Document d;
|
||||||
if (frame->length > 0) {
|
if (frame->length > 0) {
|
||||||
d.ParseInsitu(frame->message);
|
d.ParseInsitu(frame->message);
|
||||||
|
|
Loading…
Reference in a new issue