Browse Source
Merge pull request #1650 from FreddyFunk/cast
yuzu/main: Fix compiler warning
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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); |
|
|
|
|
|
|
|
|