mirror of
https://github.com/86Box/86Box.git
synced 2026-02-28 01:44:22 -07:00
Fixed the first batch of problems.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -157,10 +157,10 @@ machine_xt86_init(const machine_t *model)
|
||||
ret = bios_load_linear(L"roms/machines/ibmxt86/BIOS_5160_09MAY86_U18_59X7268_62X0890_27256_F800.BIN",
|
||||
0x000fe000, 65536, 0x6000);
|
||||
if (ret) {
|
||||
bios_load_aux_linear(L"roms/machines/ibmxt86/BIOS_5160_09MAY86_U18_59X7268_62X0890_27256_F800.BIN",
|
||||
0x000f8000, 24576, 0);
|
||||
bios_load_aux_linear(L"roms/machines/ibmxt86/BIOS_5160_09MAY86_U19_62X0819_68X4370_27256_F000.BIN",
|
||||
0x000f0000, 32768, 0);
|
||||
(void) bios_load_aux_linear(L"roms/machines/ibmxt86/BIOS_5160_09MAY86_U18_59X7268_62X0890_27256_F800.BIN",
|
||||
0x000f8000, 24576, 0);
|
||||
(void) bios_load_aux_linear(L"roms/machines/ibmxt86/BIOS_5160_09MAY86_U19_62X0819_68X4370_27256_F000.BIN",
|
||||
0x000f0000, 32768, 0);
|
||||
}
|
||||
|
||||
if (bios_only || !ret)
|
||||
|
||||
Reference in New Issue
Block a user