diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2013-04-09 18:57:39 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2013-04-09 19:02:22 -0500 |
| commit | 385d8e2b15c8accce3b4e4b4f3dc90f63e3fbee4 (patch) | |
| tree | 418b3756ecfc00e47702f63e39075d9795db6c92 /Source/Core/DiscIO | |
| parent | 5c374b271834dd14410358ae3672a89e17390ec1 (diff) | |
ChunkFile has allowed me to accidentally "Do" a non-POD for the last time!
Diffstat (limited to 'Source/Core/DiscIO')
| -rw-r--r-- | Source/Core/DiscIO/Src/WbfsBlob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/WbfsBlob.cpp b/Source/Core/DiscIO/Src/WbfsBlob.cpp index 0fd89243e3..ce8c1d2b55 100644 --- a/Source/Core/DiscIO/Src/WbfsBlob.cpp +++ b/Source/Core/DiscIO/Src/WbfsBlob.cpp @@ -133,7 +133,7 @@ bool WbfsFileReader::Read(u64 offset, u64 nbytes, u8* out_ptr) { while(nbytes) { - u64 read_size; + u64 read_size = 0; File::IOFile& data_file = SeekToCluster(offset, &read_size); read_size = (read_size > nbytes) ? nbytes : read_size; |
