diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-07-04 18:45:37 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-08-10 23:47:18 +0800 |
| commit | ea3b351d9237d8188928df1db1bb7ef5a42f72cd (patch) | |
| tree | 4ad83b66b787ffdd88dc4b29e5ea139d0aaf0aaf /Source/Core/DolphinQt2/WiiUpdate.cpp | |
| parent | 0e71c0760e1a95c495bb9ecc004eb9e50596abfe (diff) | |
Qt: Add menu item to perform system update from disc
Diffstat (limited to 'Source/Core/DolphinQt2/WiiUpdate.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/WiiUpdate.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/WiiUpdate.cpp b/Source/Core/DolphinQt2/WiiUpdate.cpp index b7e840f21e..cd9b0275e0 100644 --- a/Source/Core/DolphinQt2/WiiUpdate.cpp +++ b/Source/Core/DolphinQt2/WiiUpdate.cpp @@ -139,4 +139,10 @@ void PerformOnlineUpdate(const std::string& region, QWidget* parent) const WiiUtils::UpdateResult result = ShowProgress(parent, WiiUtils::DoOnlineUpdate, region); ShowResult(parent, result); } + +void PerformDiscUpdate(const std::string& file_path, QWidget* parent) +{ + const WiiUtils::UpdateResult result = ShowProgress(parent, WiiUtils::DoDiscUpdate, file_path); + ShowResult(parent, result); +} } // namespace WiiUpdate |
