Browse Source

fix fw install

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/3016/head
crueter 2 weeks ago
parent
commit
6e3812e702
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 2
      src/qt_common/util/content.cpp

2
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;

Loading…
Cancel
Save