mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-05 17:15:49 +00:00
another patch from baby.lueshi: DiscScrubber doesn't modify original file anymore, and just returns the "real" or "free'd" buffer inline with compression - so it should be a little faster too :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5032 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
98ddeadbbf
commit
5f19fb22b2
3 changed files with 66 additions and 82 deletions
|
@ -39,7 +39,9 @@ namespace DiscScrubber
|
|||
|
||||
u32 IsScrubbed(const char* filename);
|
||||
|
||||
bool Scrub(const char* filename, CompressCB callback = 0, void* arg = 0);
|
||||
bool SetupScrub(const char* filename, int block_size);
|
||||
void GetNextBlock(FILE* in, u8* buffer);
|
||||
void Cleanup();
|
||||
|
||||
} // namespace DiscScrubber
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue