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:
Shawn Hoffman
2010-02-08 22:46:04 +00:00
parent 98ddeadbbf
commit 5f19fb22b2
3 changed files with 66 additions and 82 deletions

View File

@ -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