Corrected a few compile-breaking typo's.
This commit is contained in:
@@ -106,10 +106,10 @@ void fdi_load(int drive, char *fn)
|
||||
fdi[drive].f = fopen(fn, "rb");
|
||||
if (!fdi[drive].f) return;
|
||||
|
||||
fread(char_header, 1, 25, f);
|
||||
fread(header, 1, 25, f);
|
||||
fseek(f, 0, SEEK_SET);
|
||||
char_header[25] = 0;
|
||||
if (strmp(char_header, "Formatted Disk Image file") != 0)
|
||||
header[25] = 0;
|
||||
if (strcmp(header, "Formatted Disk Image file") != 0)
|
||||
{
|
||||
/* This is a Japanese FDI file. */
|
||||
pclog("fdi_load(): Japanese FDI file detected, redirecting to IMG loader\n");
|
||||
|
Reference in New Issue
Block a user