Fixed some compile-breaking mistakes in zip.c.

This commit is contained in:
OBattler
2018-01-27 00:34:53 +01:00
parent f1e5abcb54
commit c900a4774f

View File

@@ -503,9 +503,9 @@ int zip_load(uint8_t id, wchar_t *fn)
fseek(zip_drives[id].f, 0, SEEK_END);
size = ftell(zip_drives[id].f);
if (size == ((ZIP_250_SECTORS << 9) + 0x1000)) || (size == ((ZIP_SECTORS << 9) + 0x1000)) {
if ((size == ((ZIP_250_SECTORS << 9) + 0x1000)) || (size == ((ZIP_SECTORS << 9) + 0x1000))) {
/* This is a ZDI image. */
zip_drives[id].size -= 0x1000;
size -= 0x1000;
zip_drives[id].base = 0x1000;
} else
zip_drives[id].base = 0;