Update game metadata when stopping emulation (#2610)

* Update game metadata when stopping emulation

* Fix formatting
This commit is contained in:
Agustin Insua 2021-09-11 16:16:48 -03:00 committed by GitHub
parent 830d1f097d
commit bcbe6ef6cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1276,6 +1276,11 @@ namespace Ryujinx.Ui
private void StopEmulation_Pressed(object sender, EventArgs args)
{
if (_emulationContext != null)
{
UpdateGameMetadata(_emulationContext.Application.TitleIdText);
}
RendererWidget?.Exit();
}