diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2022-02-27 11:08:29 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2022-02-27 11:11:44 -0500 |
commit | 8c20f22955762c85870bdc2ae972018a6acc4258 (patch) | |
tree | a6d3b49a646ccd311932385717e74b8e2bfcafa0 /src/devices/machine/eeprom.h | |
parent | 300206e308c2c5f9ad8898fb62f1873be682df5a (diff) |
Use ioprocs classes instead of emu_file for device_nvram_interface's load and save methods, and have these return false on I/O errors
Diffstat (limited to 'src/devices/machine/eeprom.h')
-rw-r--r-- | src/devices/machine/eeprom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/eeprom.h b/src/devices/machine/eeprom.h index eb0a64b9234..9484357915a 100644 --- a/src/devices/machine/eeprom.h +++ b/src/devices/machine/eeprom.h @@ -63,8 +63,8 @@ protected: // device_nvram_interface overrides virtual void nvram_default() override; - virtual void nvram_read(emu_file &file) override; - virtual void nvram_write(emu_file &file) override; + virtual bool nvram_read(util::read_stream &file) override; + virtual bool nvram_write(util::write_stream &file) override; optional_memory_region m_region; |