mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +00:00
code cleanup
This commit is contained in:
parent
39b98fcfda
commit
3ac6320ec3
4 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -34,6 +34,6 @@ int main(int argc, char* argv[]) {
|
|||
|
||||
Core::Emulator emulator;
|
||||
emulator.Run(argv[1]);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue