From f0d5e614e04013ea2f5aa3fa564d25d2722b2481 Mon Sep 17 00:00:00 2001 From: condut Date: Sat, 11 Jul 2015 06:20:02 +0300 Subject: [PATCH] Update per request --- src/core/file_sys/ivfc_archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file_sys/ivfc_archive.cpp b/src/core/file_sys/ivfc_archive.cpp index c1cba699e..612f6cbb6 100644 --- a/src/core/file_sys/ivfc_archive.cpp +++ b/src/core/file_sys/ivfc_archive.cpp @@ -75,7 +75,7 @@ size_t IVFCFile::Write(const u64 offset, const u32 length, const u32 flush, cons } size_t IVFCFile::GetSize() const { - return sizeof(u8) * data_size; + return data_size; // TODO: return value will overflow on 32-bit machines } bool IVFCFile::SetSize(const u64 size) const {