summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Laing <27208977+FreddyFunk@users.noreply.github.com>2018-11-06 15:22:24 +0100
committerFrederic Laing <27208977+FreddyFunk@users.noreply.github.com>2018-11-06 15:22:24 +0100
commit6c8b788d32fc760ef8aedff5363ebc5c63a2b049 (patch)
tree57a8d4a603bf2c5364659ab7c81516db6f869e80
parentMerge pull request #1616 from FernandoS27/cube-array (diff)
downloadyuzu-6c8b788d32fc760ef8aedff5363ebc5c63a2b049.tar
yuzu-6c8b788d32fc760ef8aedff5363ebc5c63a2b049.tar.gz
yuzu-6c8b788d32fc760ef8aedff5363ebc5c63a2b049.tar.bz2
yuzu-6c8b788d32fc760ef8aedff5363ebc5c63a2b049.tar.lz
yuzu-6c8b788d32fc760ef8aedff5363ebc5c63a2b049.tar.xz
yuzu-6c8b788d32fc760ef8aedff5363ebc5c63a2b049.tar.zst
yuzu-6c8b788d32fc760ef8aedff5363ebc5c63a2b049.zip
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 74a44be37..c3c85f1ac 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -933,7 +933,8 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
const auto full = res == "Full";
const auto entry_size = CalculateRomFSEntrySize(extracted, full);
- QProgressDialog progress(tr("Extracting RomFS..."), tr("Cancel"), 0, entry_size, this);
+ QProgressDialog progress(tr("Extracting RomFS..."), tr("Cancel"), 0,
+ static_cast<s32>(entry_size), this);
progress.setWindowModality(Qt::WindowModal);
progress.setMinimumDuration(100);