better place to init discordRPC
This commit is contained in:
parent
b7945a4c0a
commit
7b380e0d5f
|
@ -57,13 +57,15 @@ 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
|
||||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_GAMEPAD) != 0)
|
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_GAMEPAD) != 0)
|
||||||
|
|
Loading…
Reference in New Issue