mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-06 09:35:53 +00:00
ChunkFile has allowed me to accidentally "Do" a non-POD for the last time!
This commit is contained in:
parent
5c374b2718
commit
385d8e2b15
18 changed files with 43 additions and 30 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue