summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb/horizon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/peb/horizon.h')
-rw-r--r--src/devices/bus/ti99/peb/horizon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/bus/ti99/peb/horizon.h b/src/devices/bus/ti99/peb/horizon.h
index 8e5c9a6133d..253a1b2c3a0 100644
--- a/src/devices/bus/ti99/peb/horizon.h
+++ b/src/devices/bus/ti99/peb/horizon.h
@@ -44,6 +44,7 @@ protected:
void nvram_default() override;
void nvram_read(emu_file &file) override;
void nvram_write(emu_file &file) override;
+ bool nvram_can_write() override;
private:
required_device<ram_device> m_ram;
@@ -65,6 +66,9 @@ private:
bool m_hideswitch;
bool m_rambo_supported;
+ // Do not save if nothing was modified.
+ bool m_modified;
+
int m_page;
int m_bank;
int m_ramsize;