Fixed the third batch of problems.
This commit is contained in:
@@ -491,7 +491,8 @@ fdd_load(int drive, wchar_t *fn)
|
||||
f = plat_fopen(fn, L"rb");
|
||||
if (!f)
|
||||
return;
|
||||
fseek(f, -1, SEEK_END);
|
||||
if (fseek(f, -1, SEEK_END) == -1)
|
||||
fatal("fdd_load(): Error seeking to the end of the file\n");
|
||||
size = ftell(f) + 1;
|
||||
fclose(f);
|
||||
while (loaders[c].ext) {
|
||||
|
||||
Reference in New Issue
Block a user