Fixed the first batch of problems.

This commit is contained in:
OBattler
2020-01-15 03:04:59 +01:00
parent 714d77dedd
commit 8749776144
10 changed files with 62 additions and 26 deletions

View File

@@ -1293,7 +1293,8 @@ eep_init(const device_t *info)
f = nvr_fopen(eep->path, L"rb");
if (f != NULL) {
fread(eep->store, 128, 1, f);
if (fread(eep->store, 1, 128, f) != 128)
fatal("eep_init(): Error reading Tandy EEPROM\n");
(void)fclose(f);
}