better place to init discordRPC

This commit is contained in:
georgemoralis 2023-08-12 01:02:42 +03:00
parent 63185c4734
commit f62f2c767f

View file

@ -57,12 +57,14 @@ int main(int argc, char* argv[])
},
nullptr);
mainthread.DetachThread();
Emulator::emuRun();
mainthread.JoinThread();
Discord::RPC discordRPC;
discordRPC.init();
discordRPC.update(Discord::RPCStatus::Idling, "");
Emulator::emuRun();
mainthread.JoinThread();
#if 0
// Setup SDL