Update src/yuzu/main.cpp with missing const

Co-Authored-By: Mat M. <mathew1800@gmail.com>
merge-requests/60/head
Ben Russell 2020-04-23 13:10:06 +07:00 committed by GitHub
parent dd43d725c6
commit bcd0444bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -1304,7 +1304,7 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
FileSys::VirtualFile romfs; FileSys::VirtualFile romfs;
if (*romfs_title_id == program_id) { if (*romfs_title_id == program_id) {
u64 ivfc_offset = loader->ReadRomFSIVFCOffset(); const u64 ivfc_offset = loader->ReadRomFSIVFCOffset();
FileSys::PatchManager pm{program_id}; FileSys::PatchManager pm{program_id};
romfs = pm.PatchRomFS(file, ivfc_offset, FileSys::ContentRecordType::Program); romfs = pm.PatchRomFS(file, ivfc_offset, FileSys::ContentRecordType::Program);
} else { } else {