patch by Daco for extracting directory contents from a gcm (which also allows dumping an entire partion other than 0 from a wii disc)

plus a small fix for File::GetSize log

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4258 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2009-09-13 09:03:38 +00:00
parent 512053fa5e
commit be702ce750
5 changed files with 66 additions and 12 deletions

View File

@ -332,7 +332,7 @@ u64 GetSize(const char *filename)
// on windows it's actually _stat64 defined in commonFuncs
struct stat64 buf;
if (stat64(filename, &buf) == 0) {
DEBUG_LOG(COMMON, "GetSize: %s: %d", filename, buf.st_size);
DEBUG_LOG(COMMON, "GetSize: %s: %ld", filename, buf.st_size);
return buf.st_size;
}