summaryrefslogtreecommitdiffstats
path: root/src/core/loader/3dsx.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-12 00:16:33 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-14 01:00:56 +0200
commit2d7299a86fdc4ba2485042f950d864e063be5e97 (patch)
tree26c15a7b8fe0563dc39dd80564c30405d458bfe7 /src/core/loader/3dsx.cpp
parentFS: Stream RomFS from file instead of loading all of it to memory (diff)
downloadyuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.gz
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.bz2
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.lz
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.xz
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.zst
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.zip
Diffstat (limited to 'src/core/loader/3dsx.cpp')
-rw-r--r--src/core/loader/3dsx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/3dsx.cpp b/src/core/loader/3dsx.cpp
index 055661363..d043fa9bd 100644
--- a/src/core/loader/3dsx.cpp
+++ b/src/core/loader/3dsx.cpp
@@ -246,11 +246,11 @@ ResultStatus AppLoader_THREEDSX::Load() {
if (is_loaded)
return ResultStatus::ErrorAlreadyLoaded;
- if (!file->IsOpen())
+ if (!file.IsOpen())
return ResultStatus::Error;
SharedPtr<CodeSet> codeset;
- if (Load3DSXFile(*file, Memory::PROCESS_IMAGE_VADDR, &codeset) != ERROR_NONE)
+ if (Load3DSXFile(file, Memory::PROCESS_IMAGE_VADDR, &codeset) != ERROR_NONE)
return ResultStatus::Error;
codeset->name = filename;