소스 검색

Update game metadata when stopping emulation (#2610)

* Update game metadata when stopping emulation

* Fix formatting
Agustin Insua 4 년 전
부모
커밋
bcbe6ef6cd
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Ryujinx/Ui/MainWindow.cs

+ 5 - 0
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();
         }