diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-01-06 22:10:12 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-01-15 22:21:26 +0100 |
commit | 2d63df90a9d64d3961be07ef0a959bc48b42c73b (patch) | |
tree | 79de4eaa1c5e22618d5eef6793d757c6f6d9aa94 /src/core | |
parent | Loader: Remove the useless THREEDSXReader class. (diff) | |
download | yuzu-2d63df90a9d64d3961be07ef0a959bc48b42c73b.tar yuzu-2d63df90a9d64d3961be07ef0a959bc48b42c73b.tar.gz yuzu-2d63df90a9d64d3961be07ef0a959bc48b42c73b.tar.bz2 yuzu-2d63df90a9d64d3961be07ef0a959bc48b42c73b.tar.lz yuzu-2d63df90a9d64d3961be07ef0a959bc48b42c73b.tar.xz yuzu-2d63df90a9d64d3961be07ef0a959bc48b42c73b.tar.zst yuzu-2d63df90a9d64d3961be07ef0a959bc48b42c73b.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/loader/ncch.cpp | 4 | ||||
-rw-r--r-- | src/core/loader/ncch.h | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp index 0793cc7cd..883a0f753 100644 --- a/src/core/loader/ncch.cpp +++ b/src/core/loader/ncch.cpp @@ -102,10 +102,6 @@ static bool LZSS_Decompress(u8* compressed, u32 compressed_size, u8* decompresse /// AppLoader_NCCH constructor AppLoader_NCCH::AppLoader_NCCH(const std::string& filename) { this->filename = filename; - is_compressed = false; - entry_point = 0; - ncch_offset = 0; - exefs_offset = 0; } /// AppLoader_NCCH destructor diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 184a20d98..578513f77 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h @@ -216,11 +216,11 @@ private: std::string filename; bool is_loaded = false; - bool is_compressed; + bool is_compressed = false; - u32 entry_point; - u32 ncch_offset; // Offset to NCCH header, can be 0 or after NCSD header - u32 exefs_offset; + u32 entry_point = 0; + u32 ncch_offset = 0; // Offset to NCCH header, can be 0 or after NCSD header + u32 exefs_offset = 0; NCCH_Header ncch_header; ExeFs_Header exefs_header; |