diff options
author | bunnei <bunneidev@gmail.com> | 2014-10-30 02:07:27 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-10-30 02:07:27 +0100 |
commit | 01e37962e78abe2a39a5bd518fa3590a36912526 (patch) | |
tree | 93719ab2064b976fcb96528933409ea6048c230a /src/core/file_sys | |
parent | Merge pull request #161 from archshift/sdmc-detected (diff) | |
parent | Fix some warnings (diff) | |
download | yuzu-01e37962e78abe2a39a5bd518fa3590a36912526.tar yuzu-01e37962e78abe2a39a5bd518fa3590a36912526.tar.gz yuzu-01e37962e78abe2a39a5bd518fa3590a36912526.tar.bz2 yuzu-01e37962e78abe2a39a5bd518fa3590a36912526.tar.lz yuzu-01e37962e78abe2a39a5bd518fa3590a36912526.tar.xz yuzu-01e37962e78abe2a39a5bd518fa3590a36912526.tar.zst yuzu-01e37962e78abe2a39a5bd518fa3590a36912526.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/archive_romfs.cpp | 2 | ||||
-rw-r--r-- | src/core/file_sys/directory_sdmc.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cpp index 9bab3471f..f101fc729 100644 --- a/src/core/file_sys/archive_romfs.cpp +++ b/src/core/file_sys/archive_romfs.cpp @@ -50,7 +50,7 @@ std::unique_ptr<Directory> Archive_RomFS::OpenDirectory(const std::string& path) * @return Number of bytes read */ size_t Archive_RomFS::Read(const u64 offset, const u32 length, u8* buffer) const { - DEBUG_LOG(FILESYS, "called offset=%d, length=%d", offset, length); + DEBUG_LOG(FILESYS, "called offset=%llu, length=%d", offset, length); memcpy(buffer, &raw_data[(u32)offset], length); return length; } diff --git a/src/core/file_sys/directory_sdmc.cpp b/src/core/file_sys/directory_sdmc.cpp index 36951564d..fd558def9 100644 --- a/src/core/file_sys/directory_sdmc.cpp +++ b/src/core/file_sys/directory_sdmc.cpp @@ -42,7 +42,7 @@ u32 Directory_SDMC::Read(const u32 count, Entry* entries) { const std::string& filename = file.virtualName; Entry& entry = entries[entries_read]; - WARN_LOG(FILESYS, "File %s: size=%d dir=%d", filename.c_str(), file.size, file.isDirectory); + WARN_LOG(FILESYS, "File %s: size=%llu dir=%d", filename.c_str(), file.size, file.isDirectory); // TODO(Link Mauve): use a proper conversion to UTF-16. for (int j = 0; j < FILENAME_LENGTH; ++j) { |