Implement update loader and log loaded application info (#1023)

* Implement update loader

* Add title version to titlebar and log loaded application info

* nits

* requested changes
This commit is contained in:
Xpl0itR 2020-04-12 22:02:37 +01:00 committed by GitHub
parent 6052aa17f2
commit ad3d2fb5a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 605 additions and 39 deletions

View file

@ -192,12 +192,17 @@ namespace Ryujinx.Ui
parent.Present();
string titleNameSection = string.IsNullOrWhiteSpace(_device.System.TitleName) ? string.Empty
: " | " + _device.System.TitleName;
: $" - {_device.System.TitleName}";
string titleVersionSection = string.IsNullOrWhiteSpace(_device.System.TitleVersionString) ? string.Empty
: $" v{_device.System.TitleVersionString}";
string titleIdSection = string.IsNullOrWhiteSpace(_device.System.TitleIdText) ? string.Empty
: " | " + _device.System.TitleIdText.ToUpper();
: $" ({_device.System.TitleIdText.ToUpper()})";
parent.Title = $"Ryujinx {Program.Version}{titleNameSection}{titleIdSection}";
string titleArchSection = _device.System.TitleIs64Bit ? " (64-bit)" : " (32-bit)";
parent.Title = $"Ryujinx {Program.Version}{titleNameSection}{titleVersionSection}{titleIdSection}{titleArchSection}";
});
Thread renderLoopThread = new Thread(Render)