summaryrefslogtreecommitdiffstats
path: root/src/core/loader/elf.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-01-06 20:49:25 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-01-15 22:21:26 +0100
commit85030c6e6bfe83b6671de45b25535fe3ef713319 (patch)
tree03a9735f1c306c4679359b64b29013a9d350bfde /src/core/loader/elf.cpp
parentLoader: Don’t duplicate the docstring into the cpp file. (diff)
downloadyuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.tar
yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.tar.gz
yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.tar.bz2
yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.tar.lz
yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.tar.xz
yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.tar.zst
yuzu-85030c6e6bfe83b6671de45b25535fe3ef713319.zip
Diffstat (limited to 'src/core/loader/elf.cpp')
-rw-r--r--src/core/loader/elf.cpp4
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() {
namespace Loader {
/// AppLoader_ELF constructor
-AppLoader_ELF::AppLoader_ELF(const std::string& filename) : is_loaded(false) {
+AppLoader_ELF::AppLoader_ELF(const std::string& filename) {
this->filename = filename;
}
@@ -358,6 +358,8 @@ ResultStatus AppLoader_ELF::Load() {
} else {
return ResultStatus::Error;
}
+
+ is_loaded = true;
return ResultStatus::Success;
}