diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 02:21:25 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 04:26:37 +0200 |
commit | e3a30ccc7c8a556224cb5608c9442b841f02117b (patch) | |
tree | 0959d6ea44a2af3d724ce1ffb6e81546d4c7e547 /src/core | |
parent | Merge pull request #688 from lioncash/comma (diff) | |
download | yuzu-e3a30ccc7c8a556224cb5608c9442b841f02117b.tar yuzu-e3a30ccc7c8a556224cb5608c9442b841f02117b.tar.gz yuzu-e3a30ccc7c8a556224cb5608c9442b841f02117b.tar.bz2 yuzu-e3a30ccc7c8a556224cb5608c9442b841f02117b.tar.lz yuzu-e3a30ccc7c8a556224cb5608c9442b841f02117b.tar.xz yuzu-e3a30ccc7c8a556224cb5608c9442b841f02117b.tar.zst yuzu-e3a30ccc7c8a556224cb5608c9442b841f02117b.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/loader/nso.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index 2beb85fbf..4ae9d55dd 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -113,7 +113,7 @@ VAddr AppLoader_NSO::LoadModule(FileSys::VirtualFile file, VAddr load_base) { // Build program image Kernel::SharedPtr<Kernel::CodeSet> codeset = Kernel::CodeSet::Create(""); std::vector<u8> program_image; - for (int i = 0; i < nso_header.segments.size(); ++i) { + for (std::size_t i = 0; i < nso_header.segments.size(); ++i) { const std::vector<u8> compressed_data = file->ReadBytes(nso_header.segments_compressed_size[i], nso_header.segments[i].offset); std::vector<u8> data = DecompressSegment(compressed_data, nso_header.segments[i]); |