mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-28 12:51:52 +01:00
yay, finally another herpderp commit!
This commit is contained in:
parent
f57507c4f3
commit
844b7087e5
@ -116,7 +116,10 @@ u32 crc32file(const char *name)
|
||||
/* Check our filesize */
|
||||
fseek(fp, 0, SEEK_END);
|
||||
if(ftell(fp) > 0x40000000) //pfff over 1gb would take ages
|
||||
{
|
||||
fclose(fp);
|
||||
return oldcrc32;
|
||||
}
|
||||
rewind(fp);
|
||||
/* Get a Buffer and begin */
|
||||
u8 *Buffer = (u8*)MEM2_alloc(FILEBUFFER);
|
||||
|
Loading…
Reference in New Issue
Block a user