Gdbstub, Minitrace and more (#2653)
* Fix gdbstub compilation * Fix minitrace compilation * Fix many warnings on Linux Builds * Support DirectInput for Joysticks in QT UI too
This commit is contained in:
@@ -156,7 +156,7 @@ cs423x_nvram(cs423x_t *dev, uint8_t save)
|
||||
if (save)
|
||||
fwrite(dev->eeprom_data, sizeof(dev->eeprom_data), 1, f);
|
||||
else
|
||||
fread(dev->eeprom_data, sizeof(dev->eeprom_data), 1, f);
|
||||
(void) !fread(dev->eeprom_data, sizeof(dev->eeprom_data), 1, f);
|
||||
fclose(f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user