summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/romfs_factory.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-28 06:03:38 +0100
committerZach Hilman <zachhilman@gmail.com>2019-03-27 03:05:37 +0100
commit60f39060c68605c6b3628cea37ef4353f06b5d0e (patch)
tree880bd7ae3c02ce8ba3772b06ca8da6b062452113 /src/core/file_sys/romfs_factory.cpp
parentcore: Store system-wide ContentProvider for the emulator (diff)
downloadyuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.gz
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.bz2
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.lz
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.xz
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.tar.zst
yuzu-60f39060c68605c6b3628cea37ef4353f06b5d0e.zip
Diffstat (limited to 'src/core/file_sys/romfs_factory.cpp')
-rw-r--r--src/core/file_sys/romfs_factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/romfs_factory.cpp b/src/core/file_sys/romfs_factory.cpp
index 6ad1e4f86..b2ccb2926 100644
--- a/src/core/file_sys/romfs_factory.cpp
+++ b/src/core/file_sys/romfs_factory.cpp
@@ -48,7 +48,7 @@ ResultVal<VirtualFile> RomFSFactory::Open(u64 title_id, StorageId storage, Conte
switch (storage) {
case StorageId::None:
- res = Service::FileSystem::GetUnionContents().GetEntry(title_id, type);
+ res = Core::System::GetInstance().GetContentProvider().GetEntry(title_id, type);
break;
case StorageId::NandSystem:
res = Service::FileSystem::GetSystemNANDContents()->GetEntry(title_id, type);