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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue