diff options
| author | 2018-08-07 11:18:52 -0400 | |
|---|---|---|
| committer | 2018-08-07 11:18:52 -0400 | |
| commit | 438d9aa4077ae3d75d81f60812ec88338c0bdf8a (patch) | |
| tree | 5aaa4c4db31399ed8702093431cb8596d611fcc8 /src/core/loader | |
| parent | Merge pull request #931 from DarkLordZach/nca-as-drd (diff) | |
| parent | loader: Fix scope error in DeconstructedRomDirectory (diff) | |
| download | yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.tar.gz yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.tar.xz yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.zip | |
Merge pull request #961 from DarkLordZach/nca-as-drd-scope
loader: Fix scope error in DeconstructedRomDirectory
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp index 076927dff..9a8cdd0ff 100644 --- a/src/core/loader/deconstructed_rom_directory.cpp +++ b/src/core/loader/deconstructed_rom_directory.cpp | |||
| @@ -41,7 +41,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load( | |||
| 41 | if (dir == nullptr) { | 41 | if (dir == nullptr) { |
| 42 | if (file == nullptr) | 42 | if (file == nullptr) |
| 43 | return ResultStatus::ErrorInvalidFormat; | 43 | return ResultStatus::ErrorInvalidFormat; |
| 44 | const FileSys::VirtualDir dir = file->GetContainingDirectory(); | 44 | dir = file->GetContainingDirectory(); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | const FileSys::VirtualFile npdm = dir->GetFile("main.npdm"); | 47 | const FileSys::VirtualFile npdm = dir->GetFile("main.npdm"); |