code cleanup

This commit is contained in:
delledev 2024-09-30 14:39:37 +03:00
parent 39b98fcfda
commit 3ac6320ec3
4 changed files with 3 additions and 4 deletions

View file

@ -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" ],

View file

@ -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";

View file

@ -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

View file

@ -34,6 +34,6 @@ int main(int argc, char* argv[]) {
Core::Emulator emulator;
emulator.Run(argv[1]);
return 0;
}