From 138929caec75ecd0ee528b87639fedf178cd9c1c Mon Sep 17 00:00:00 2001 From: Vitaly Orekhov Date: Wed, 5 Nov 2025 15:59:43 +0300 Subject: [PATCH] 8514/A: Fix first NVRAM initialization on MCA bus version made by ATI Prior to this change it was not possible to start the emulated machine with this graphics adapter installed on any operating system different from Windows, causing crash with exit code 11. --- src/video/vid_ati_eeprom.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video/vid_ati_eeprom.c b/src/video/vid_ati_eeprom.c index 84cbffedb..3f9d707ca 100644 --- a/src/video/vid_ati_eeprom.c +++ b/src/video/vid_ati_eeprom.c @@ -56,7 +56,6 @@ ati_eeprom_load_mach8(ati_eeprom_t *eeprom, char *fn, int mca) size = 128; if (!fp) { if (mca) { - (void) fseek(fp, 2L, SEEK_SET); memset(eeprom->data + 2, 0xff, size - 2); fp = nvr_fopen(eeprom->fn, "wb"); fwrite(eeprom->data, 1, size, fp);