mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
Fix since mth's version killed everything, even the baby sea lions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@572 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
67aa39c89e
commit
1a7f5bb564
2 changed files with 42 additions and 43 deletions
|
@ -22,8 +22,6 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <cstdio>
|
||||
#endif
|
||||
|
||||
namespace DiscIO
|
||||
|
@ -35,8 +33,8 @@ class PlainFileReader : public IBlobReader
|
|||
HANDLE hFile;
|
||||
PlainFileReader(HANDLE hFile_);
|
||||
#else
|
||||
FILE* file_;
|
||||
PlainFileReader(FILE* file__);
|
||||
FILE *file_;
|
||||
PlainFileReader(FILE *file__);
|
||||
#endif
|
||||
s64 size;
|
||||
|
||||
|
@ -45,7 +43,7 @@ public:
|
|||
~PlainFileReader();
|
||||
u64 GetDataSize() const { return size; }
|
||||
u64 GetRawSize() const { return size; }
|
||||
bool Read(u64 offset, u64 nbytes, u8* out_ptr);
|
||||
bool Read(u64 offset, u64 size, u8* out_ptr);
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue