Attempt to speed up drive reading by doing larger block reads - didn't help very much. we need to support async reads, I think.
Also delete some copypasta in DriveBlob - it already inherits those functions so it doesn't need them itself. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2368 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
42a7d2fc85
commit
e3d1704979
5 files changed
+68
-70
No files matched your search
@@ -48,14 +48,10 @@ public:
|
||||
~DriveReader();
|
||||
u64 GetDataSize() const { return size; }
|
||||
u64 GetRawSize() const { return size; }
|
||||
bool Read(u64 offset, u64 nbytes, u8* out_ptr);
|
||||
const u8 *GetBlockData(u64 block_num);
|
||||
|
||||
virtual bool ReadMultipleAlignedBlocks(u64 block_num, u64 num_blocks, u8 *out_ptr);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif // _DRIVE_BLOB_H
|
||||
Reference in new issue
Block a user