Fxied the last warnings.

This commit is contained in:
OBattler
2023-10-14 00:27:33 +02:00
parent e657ecc8dd
commit 531bb61146
2 changed files with 5 additions and 5 deletions

View File

@@ -3364,7 +3364,7 @@ xga_init(const device_t *info)
rom = malloc(xga->bios_rom.sz);
memset(rom, 0xff, xga->bios_rom.sz);
(void) fread(rom, xga->bios_rom.sz, 1, fp);
(void) !fread(rom, xga->bios_rom.sz, 1, fp);
(void) fclose(fp);
xga->bios_rom.rom = rom;