diff options
author | sharmander <saldabain.dev@gmail.com> | 2021-02-22 15:48:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 21:48:45 +0100 |
commit | 4e26aed8163c881d0c3a5807f1e77c2c2fe7f355 (patch) | |
tree | 12383264392e8b9c1e2d8e1a42040a48d0758be6 /Ryujinx/Modules/Updater/UpdateDialog.cs | |
parent | 9bda7b469946dc44e4ee625ea69494da215c57aa (diff) |
UI: Multithreaded Updater (#2031)
* Use multiple threads to download different chunks of an update simultaneously. This reduces time to complete the download significantly.
* Remove dirty-flag check (for test purposes)
* Clean up updater code.
* Include fallback to single-threaded updater if mt fails
* Reduce connection count to 4.
* Improve fallback on error.
Correct issue where data was missing during download due to total build size not being cleanly divisble by the connection count.
Cleaned up unnecessary code.
* Add missing return statements
* Fix alignment
* Alignment
* More alignment
* Rely on content-range request instead of xml/json size property.
* Re-instate dirty checking and version checking to move into review stage.
* Address comments
* Address comments
* Comments
* Comments
* Final...?
* final final
* final final final nit
* Use Array.Copy as requested by rip
* Updated some names for clarity.
* Move addition into for loop (to shorten line width)
* Add missing semicolon -- forgot to stage :9
Diffstat (limited to 'Ryujinx/Modules/Updater/UpdateDialog.cs')
-rw-r--r-- | Ryujinx/Modules/Updater/UpdateDialog.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx/Modules/Updater/UpdateDialog.cs b/Ryujinx/Modules/Updater/UpdateDialog.cs index 54ffc0a9..193b9bc3 100644 --- a/Ryujinx/Modules/Updater/UpdateDialog.cs +++ b/Ryujinx/Modules/Updater/UpdateDialog.cs @@ -73,7 +73,7 @@ namespace Ryujinx.Modules SecondaryText.Text = ""; _restartQuery = true; - _ = Updater.UpdateRyujinx(this, _buildUrl); + Updater.UpdateRyujinx(this, _buildUrl); } } |