diff options
| author | 2015-01-06 19:49:25 +0000 | |
|---|---|---|
| committer | 2015-01-15 21:21:26 +0000 | |
| commit | 85030c6e6bfe83b6671de45b25535fe3ef713319 (patch) | |
| tree | 03a9735f1c306c4679359b64b29013a9d350bfde /src/core/loader/elf.cpp | |
| parent | Loader: Don’t duplicate the docstring into the cpp file. (diff) | |
| download | yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.tar.gz yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.tar.xz yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.zip | |
Loader: Never forget to change is_loaded.
Diffstat (limited to 'src/core/loader/elf.cpp')
| -rw-r--r-- | src/core/loader/elf.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/loader/elf.cpp b/src/core/loader/elf.cpp index 89664229a..ee711d8b2 100644 --- a/src/core/loader/elf.cpp +++ b/src/core/loader/elf.cpp | |||
| @@ -331,7 +331,7 @@ bool ElfReader::LoadSymbols() { | |||
| 331 | namespace Loader { | 331 | namespace Loader { |
| 332 | 332 | ||
| 333 | /// AppLoader_ELF constructor | 333 | /// AppLoader_ELF constructor |
| 334 | AppLoader_ELF::AppLoader_ELF(const std::string& filename) : is_loaded(false) { | 334 | AppLoader_ELF::AppLoader_ELF(const std::string& filename) { |
| 335 | this->filename = filename; | 335 | this->filename = filename; |
| 336 | } | 336 | } |
| 337 | 337 | ||
| @@ -358,6 +358,8 @@ ResultStatus AppLoader_ELF::Load() { | |||
| 358 | } else { | 358 | } else { |
| 359 | return ResultStatus::Error; | 359 | return ResultStatus::Error; |
| 360 | } | 360 | } |
| 361 | |||
| 362 | is_loaded = true; | ||
| 361 | return ResultStatus::Success; | 363 | return ResultStatus::Success; |
| 362 | } | 364 | } |
| 363 | 365 | ||