summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Russell <ben@benru.co.uk>2020-04-23 14:10:06 +0200
committerGitHub <noreply@github.com>2020-04-23 14:10:06 +0200
commitbcd0444bb93e600c7d36c992802152de18c8c3aa (patch)
tree12eb76f638e86c9898fcaed297b64af383927f9e
parentDump RomFS command to include Updates (diff)
downloadyuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.tar
yuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.tar.gz
yuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.tar.bz2
yuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.tar.lz
yuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.tar.xz
yuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.tar.zst
yuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 506f75307..b44b4276c 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1304,7 +1304,7 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
FileSys::VirtualFile romfs;
if (*romfs_title_id == program_id) {
- u64 ivfc_offset = loader->ReadRomFSIVFCOffset();
+ const u64 ivfc_offset = loader->ReadRomFSIVFCOffset();
FileSys::PatchManager pm{program_id};
romfs = pm.PatchRomFS(file, ivfc_offset, FileSys::ContentRecordType::Program);
} else {