diff options
| author | bunnei <bunneidev@gmail.com> | 2018-12-03 17:11:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-03 17:11:26 -0500 |
| commit | f6b22d9251bd45c7bafec2214911f7a818e99cbf (patch) | |
| tree | d79ba08d69fbd9686a8f49c9282c0c8a74af3609 /src/yuzu/main.cpp | |
| parent | 8a12daac8c15179d86b2050ad1218a9e7cb7c93e (diff) | |
| parent | db4523f1ece642475d58f8764863c8930a0812e3 (diff) | |
Merge pull request #1835 from lioncash/cache-global
filesystem: De-globalize registered_cache_union
Diffstat (limited to 'src/yuzu/main.cpp')
| -rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d4010001d..22c207a3a 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -907,7 +907,7 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa } const auto installed = Service::FileSystem::GetUnionContents(); - auto romfs_title_id = SelectRomFSDumpTarget(*installed, program_id); + const auto romfs_title_id = SelectRomFSDumpTarget(installed, program_id); if (!romfs_title_id) { failed(); @@ -922,7 +922,7 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa if (*romfs_title_id == program_id) { romfs = file; } else { - romfs = installed->GetEntry(*romfs_title_id, FileSys::ContentRecordType::Data)->GetRomFS(); + romfs = installed.GetEntry(*romfs_title_id, FileSys::ContentRecordType::Data)->GetRomFS(); } const auto extracted = FileSys::ExtractRomFS(romfs, FileSys::RomFSExtractionType::Full); |
