Browse Source
fix fw install
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3016/head
crueter
2 weeks ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
2 additions and
0 deletions
-
src/qt_common/util/content.cpp
|
|
|
@ -160,6 +160,7 @@ void InstallFirmware(const QString& location, bool recursive) |
|
|
|
system->GetFileSystemController().CreateFactories(*vfs); |
|
|
|
|
|
|
|
auto VerifyFirmwareCallback = [&](size_t total_size, size_t processed_size) { |
|
|
|
QGuiApplication::processEvents(); |
|
|
|
progress->setValue(90 + static_cast<int>((processed_size * 10) / total_size)); |
|
|
|
return progress->wasCanceled(); |
|
|
|
}; |
|
|
|
@ -180,6 +181,7 @@ void InstallFirmware(const QString& location, bool recursive) |
|
|
|
} |
|
|
|
|
|
|
|
progress->close(); |
|
|
|
QGuiApplication::processEvents(); |
|
|
|
|
|
|
|
const auto pair = FirmwareManager::GetFirmwareVersion(*system); |
|
|
|
const auto firmware_data = pair.first; |
|
|
|
|