mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 03:19:24 +01:00
Fix regression in r659
This commit is contained in:
parent
23a2511e54
commit
5ec3b0ecd0
@ -926,7 +926,7 @@ bool IsMountableFile(const char *path, int &type)
|
|||||||
long size = ftell(f);
|
long size = ftell(f);
|
||||||
fseek(f, 0, SEEK_SET);
|
fseek(f, 0, SEEK_SET);
|
||||||
n = fread(header, 1, sizeof(header), f);
|
n = fread(header, 1, sizeof(header), f);
|
||||||
if (n != 1)
|
if (n != sizeof(header))
|
||||||
out = false;
|
out = false;
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user