mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-27 07:37:00 +00:00
misc: chore: rewrite PlayReports.Analyzer creation to use Lazy and create the value alongside DiscordIntegrationModule init
This commit is contained in:
parent
45ee8cd0e8
commit
f92d09711b
2 changed files with 76 additions and 61 deletions
|
|
@ -56,6 +56,7 @@ namespace Ryujinx.Ava
|
|||
ConfigurationState.Instance.EnableDiscordIntegration.Event += Update;
|
||||
TitleIDs.CurrentApplication.Event += (_, e) => Use(e.NewValue);
|
||||
HorizonStatic.PlayReport += HandlePlayReport;
|
||||
PlayReports.Initialize();
|
||||
}
|
||||
|
||||
private static void Update(object sender, ReactiveEventArgs<bool> evnt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue