Explorar o código

Update src/yuzu/main.cpp with missing const

Co-Authored-By: Mat M. <mathew1800@gmail.com>
Ben Russell %!s(int64=6) %!d(string=hai) anos
pai
achega
bcd0444bb9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/yuzu/main.cpp

+ 1 - 1
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 {