diff options
| author | emmauss <emmausssss@gmail.com> | 2020-01-12 02:10:55 +0000 |
|---|---|---|
| committer | Ac_K <Acoustik666@gmail.com> | 2020-01-12 03:10:55 +0100 |
| commit | e485ee049d8d9418f3bdceed8d3342cc09977f50 (patch) | |
| tree | 69dea52a2dd16dd1ae7bf618aae6e25b3843e184 /Ryujinx.HLE/HOS/Horizon.cs | |
| parent | 1661ce99ca6b533d9f2ad9be4b89e15706cd2af6 (diff) | |
System firmware installer (#791)
* firmware installer
* Add directory installation option and fix 9.x support for directory
* Fix missing system font error while installing for the first time
* Address code style comments
* Create and use InvalidFirmwarePackageException
* Fix LDj3SNuD's comments
* addressed alex's comments
* add label to status bar to show current firmware version
Co-authored-by: Thog <thog@protonmail.com>
Diffstat (limited to 'Ryujinx.HLE/HOS/Horizon.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Horizon.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Horizon.cs b/Ryujinx.HLE/HOS/Horizon.cs index 164a49a0..855d8914 100644 --- a/Ryujinx.HLE/HOS/Horizon.cs +++ b/Ryujinx.HLE/HOS/Horizon.cs @@ -715,6 +715,21 @@ namespace Ryujinx.HLE.HOS } } + public SystemVersion VerifyFirmwarePackage(string firmwarePackage) + { + return ContentManager.VerifyFirmwarePackage(firmwarePackage); + } + + public SystemVersion GetCurrentFirmwareVersion() + { + return ContentManager.GetCurrentFirmwareVersion(); + } + + public void InstallFirmware(string firmwarePackage) + { + ContentManager.InstallFirmware(firmwarePackage); + } + public void SignalVsync() { VsyncEvent.ReadableEvent.Signal(); |
