diff options
author | Zephyron <zephyron@citron-emu.org> | 2024-12-31 17:07:49 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2024-12-31 17:07:49 +1000 |
commit | b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785 (patch) | |
tree | 77d03cd30542cd5e1addc61f240b8120a5909e90 /src/citron/discord_impl.cpp | |
parent | 6778aa8ec8e5fa0d246ac4b9ec00c10213c30ce5 (diff) |
chore: update project references and add Citron copyright
- Replaced all references to the old project name with Citron.
- Added Citron copyright information alongside existing notices in all files.
Diffstat (limited to 'src/citron/discord_impl.cpp')
-rw-r--r-- | src/citron/discord_impl.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/citron/discord_impl.cpp b/src/citron/discord_impl.cpp index 57b50abd0..9670ae4d6 100644 --- a/src/citron/discord_impl.cpp +++ b/src/citron/discord_impl.cpp @@ -15,14 +15,14 @@ #include "common/string_util.h" #include "core/core.h" #include "core/loader/loader.h" -#include "yuzu/discord_impl.h" -#include "yuzu/uisettings.h" +#include "citron/discord_impl.h" +#include "citron/uisettings.h" namespace DiscordRPC { DiscordImpl::DiscordImpl(Core::System& system_) : system{system_} { DiscordEventHandlers handlers{}; - // The number is the client ID for yuzu, it's used for images and the + // The number is the client ID for citron, it's used for images and the // application name Discord_Initialize("712465656758665259", &handlers, 1, nullptr); } @@ -62,8 +62,8 @@ std::string DiscordImpl::GetGameString(const std::string& title) { } void DiscordImpl::UpdateGameStatus(bool use_default) { - const std::string default_text = "yuzu is an emulator for the Nintendo Switch"; - const std::string default_image = "yuzu_logo"; + const std::string default_text = "citron is an emulator for the Nintendo Switch"; + const std::string default_image = "citron_logo"; const std::string url = use_default ? default_image : game_url; s64 start_time = std::chrono::duration_cast<std::chrono::seconds>( std::chrono::system_clock::now().time_since_epoch()) @@ -81,15 +81,15 @@ void DiscordImpl::UpdateGameStatus(bool use_default) { } void DiscordImpl::Update() { - const std::string default_text = "yuzu is an emulator for the Nintendo Switch"; - const std::string default_image = "yuzu_logo"; + const std::string default_text = "citron is an emulator for the Nintendo Switch"; + const std::string default_image = "citron_logo"; if (system.IsPoweredOn()) { system.GetAppLoader().ReadTitle(game_title); - // Used to format Icon URL for yuzu website game compatibility page + // Used to format Icon URL for citron website game compatibility page std::string icon_name = GetGameString(game_title); - game_url = fmt::format("https://yuzu-emu.org/images/game/boxart/{}.png", icon_name); + game_url = fmt::format("https://citron-emu.org/images/game/boxart/{}.png", icon_name); QNetworkAccessManager manager; QNetworkRequest request; |