mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-05 02:02:01 +00:00
Update game metadata when stopping emulation (#2610)
* Update game metadata when stopping emulation * Fix formatting
This commit is contained in:
parent
830d1f097d
commit
bcbe6ef6cd
1 changed files with 5 additions and 0 deletions
|
@ -1276,6 +1276,11 @@ namespace Ryujinx.Ui
|
||||||
|
|
||||||
private void StopEmulation_Pressed(object sender, EventArgs args)
|
private void StopEmulation_Pressed(object sender, EventArgs args)
|
||||||
{
|
{
|
||||||
|
if (_emulationContext != null)
|
||||||
|
{
|
||||||
|
UpdateGameMetadata(_emulationContext.Application.TitleIdText);
|
||||||
|
}
|
||||||
|
|
||||||
RendererWidget?.Exit();
|
RendererWidget?.Exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue