diff options
| author | 2015-07-11 19:16:33 -0300 | |
|---|---|---|
| committer | 2015-07-13 20:00:56 -0300 | |
| commit | 2d7299a86fdc4ba2485042f950d864e063be5e97 (patch) | |
| tree | 26c15a7b8fe0563dc39dd80564c30405d458bfe7 /src/core/loader/3dsx.cpp | |
| parent | FS: Stream RomFS from file instead of loading all of it to memory (diff) | |
| download | yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.gz yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.xz yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.zip | |
Loader: Remove unnecessary pointer indirection to IOFile
Diffstat (limited to 'src/core/loader/3dsx.cpp')
| -rw-r--r-- | src/core/loader/3dsx.cpp | 4 |
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() { | |||
| 246 | if (is_loaded) | 246 | if (is_loaded) |
| 247 | return ResultStatus::ErrorAlreadyLoaded; | 247 | return ResultStatus::ErrorAlreadyLoaded; |
| 248 | 248 | ||
| 249 | if (!file->IsOpen()) | 249 | if (!file.IsOpen()) |
| 250 | return ResultStatus::Error; | 250 | return ResultStatus::Error; |
| 251 | 251 | ||
| 252 | SharedPtr<CodeSet> codeset; | 252 | SharedPtr<CodeSet> codeset; |
| 253 | if (Load3DSXFile(*file, Memory::PROCESS_IMAGE_VADDR, &codeset) != ERROR_NONE) | 253 | if (Load3DSXFile(file, Memory::PROCESS_IMAGE_VADDR, &codeset) != ERROR_NONE) |
| 254 | return ResultStatus::Error; | 254 | return ResultStatus::Error; |
| 255 | codeset->name = filename; | 255 | codeset->name = filename; |
| 256 | 256 | ||