summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ben Russell2020-04-23 13:10:06 +0100
committerGravatar GitHub2020-04-23 13:10:06 +0100
commitbcd0444bb93e600c7d36c992802152de18c8c3aa (patch)
tree12eb76f638e86c9898fcaed297b64af383927f9e
parentDump RomFS command to include Updates (diff)
downloadyuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.tar.gz
yuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.tar.xz
yuzu-bcd0444bb93e600c7d36c992802152de18c8c3aa.zip
Update src/yuzu/main.cpp with missing const
Co-Authored-By: Mat M. <mathew1800@gmail.com>
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
1304 FileSys::VirtualFile romfs; 1304 FileSys::VirtualFile romfs;
1305 1305
1306 if (*romfs_title_id == program_id) { 1306 if (*romfs_title_id == program_id) {
1307 u64 ivfc_offset = loader->ReadRomFSIVFCOffset(); 1307 const u64 ivfc_offset = loader->ReadRomFSIVFCOffset();
1308 FileSys::PatchManager pm{program_id}; 1308 FileSys::PatchManager pm{program_id};
1309 romfs = pm.PatchRomFS(file, ivfc_offset, FileSys::ContentRecordType::Program); 1309 romfs = pm.PatchRomFS(file, ivfc_offset, FileSys::ContentRecordType::Program);
1310 } else { 1310 } else {