diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-09-28 16:49:58 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-09-28 16:49:58 +0000 |
| commit | b2c619da61610bdcf3e6176d675d67814965f78a (patch) | |
| tree | fc938c8edb1dfa845f49a80db9bc944d031729e8 /Source/Core/DiscIO/Src/FileBlob.cpp | |
| parent | 60c65b53a579b3699d62aa783a06070bb961f98c (diff) | |
Submit all kind of misc little changes and cleanup so I get a clean slate. There should be nothing in here that really changes anything important, except fixing some types in the filesystemgc stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@717 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/FileBlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/FileBlob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/FileBlob.cpp b/Source/Core/DiscIO/Src/FileBlob.cpp index 0d14d27a29..87de28a8da 100644 --- a/Source/Core/DiscIO/Src/FileBlob.cpp +++ b/Source/Core/DiscIO/Src/FileBlob.cpp @@ -61,7 +61,7 @@ bool PlainFileReader::Read(u64 offset, u64 nbytes, u8* out_ptr) if (nbytes >= 0x100000000ULL)
return false; // WTF, does windows really have this limitation?
- DWORD unused;
+ DWORD unused = 0;
if (!ReadFile(hFile, out_ptr, DWORD(nbytes & 0xFFFFFFFF), &unused, NULL))
return false;
else
|
