mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user