diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-09-03 20:16:20 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-10-07 13:50:13 -0400 |
commit | b6894bfc5b86c2fae0b401f2cfc294a08994781d (patch) | |
tree | 31f616dbc048740209668a15947b04c10c31caca /src/yuzu/discord_impl.h | |
parent | 4ce53ffe6a61cb853f2fdd88211f35cec63e2f70 (diff) |
discord_impl: Remove global system instances
Diffstat (limited to 'src/yuzu/discord_impl.h')
-rw-r--r-- | src/yuzu/discord_impl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/discord_impl.h b/src/yuzu/discord_impl.h index 4bfda8cdf..03ad42681 100644 --- a/src/yuzu/discord_impl.h +++ b/src/yuzu/discord_impl.h @@ -6,15 +6,21 @@ #include "yuzu/discord.h" +namespace Core { +class System; +} + namespace DiscordRPC { class DiscordImpl : public DiscordInterface { public: - DiscordImpl(); + DiscordImpl(Core::System& system_); ~DiscordImpl() override; void Pause() override; void Update() override; + + Core::System& system; }; } // namespace DiscordRPC |