mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
code cleanup
This commit is contained in:
parent
39b98fcfda
commit
3ac6320ec3
@ -6,7 +6,6 @@
|
||||
"configurationType": "Release",
|
||||
"buildRoot": "${projectDir}\\Build\\${name}",
|
||||
"installRoot": "${projectDir}\\Install\\${name}",
|
||||
"cmakeCommandArgs": "-DENABLE_QT_GUI=ON -DCMAKE_PREFIX_PATH=C:\\Qt\\6.7.3\\msvc2019_64",
|
||||
"buildCommandArgs": "",
|
||||
"ctestCommandArgs": "",
|
||||
"inheritEnvironments": [ "clang_cl_x64_x64" ],
|
||||
|
@ -37,7 +37,7 @@ void RPC::updatePlaying(const std::string& game, const std::string& game_id) {
|
||||
void RPC::updateIdle() {
|
||||
|
||||
DiscordRichPresence rpc{};
|
||||
rpc.largeImageKey = "shadps4";
|
||||
rpc.largeImageKey = "https://github.com/shadps4-emu/shadPS4/raw/main/.github/shadps4.png";
|
||||
rpc.largeImageText = "ShadPS4 is a PS4 emulator";
|
||||
rpc.startTimestamp = startTimestamp;
|
||||
rpc.details = "Idle";
|
||||
|
@ -213,7 +213,7 @@ void Emulator::Run(const std::filesystem::path& file) {
|
||||
|
||||
//Discord RPC
|
||||
Discord::RPC rpc;
|
||||
/*rpc.init();*/
|
||||
rpc.init();
|
||||
rpc.updatePlaying(game_info.title, id);
|
||||
|
||||
// start execution
|
||||
|
Loading…
Reference in New Issue
Block a user