mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-09 16:35:13 +00:00
better place to init discordRPC
This commit is contained in:
parent
63185c4734
commit
f62f2c767f
|
@ -57,12 +57,14 @@ int main(int argc, char* argv[])
|
||||||
},
|
},
|
||||||
nullptr);
|
nullptr);
|
||||||
mainthread.DetachThread();
|
mainthread.DetachThread();
|
||||||
Emulator::emuRun();
|
|
||||||
mainthread.JoinThread();
|
|
||||||
|
|
||||||
Discord::RPC discordRPC;
|
Discord::RPC discordRPC;
|
||||||
discordRPC.init();
|
discordRPC.init();
|
||||||
discordRPC.update(Discord::RPCStatus::Idling, "");
|
discordRPC.update(Discord::RPCStatus::Idling, "");
|
||||||
|
Emulator::emuRun();
|
||||||
|
mainthread.JoinThread();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
// Setup SDL
|
// Setup SDL
|
||||||
|
|
Loading…
Reference in a new issue