From bcbe6ef6cdbd22d22566cb17d5cd80f9cd15bbac Mon Sep 17 00:00:00 2001 From: Agustin Insua Date: Sat, 11 Sep 2021 16:16:48 -0300 Subject: [PATCH] Update game metadata when stopping emulation (#2610) * Update game metadata when stopping emulation * Fix formatting --- Ryujinx/Ui/MainWindow.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index fa46de61a4..41916b3ca4 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -1276,6 +1276,11 @@ namespace Ryujinx.Ui private void StopEmulation_Pressed(object sender, EventArgs args) { + if (_emulationContext != null) + { + UpdateGameMetadata(_emulationContext.Application.TitleIdText); + } + RendererWidget?.Exit(); }