Corrected a few compile-breaking typo's.

This commit is contained in:
OBattler
2016-08-15 03:40:00 +02:00
parent 929d34d4b4
commit bfedcc92be

View File

@@ -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");