summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds128x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ds128x.h')
-rw-r--r--src/devices/machine/ds128x.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/ds128x.h b/src/devices/machine/ds128x.h
index 7ade1bfa431..07209361041 100644
--- a/src/devices/machine/ds128x.h
+++ b/src/devices/machine/ds128x.h
@@ -17,8 +17,8 @@ public:
protected:
ds12885_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
- virtual int data_size() override { return 128; }
- virtual int get_timer_bypass() override;
+ virtual int data_size() const override { return 128; }
+ virtual int get_timer_bypass() const override;
};
// device type definition
@@ -37,7 +37,7 @@ public:
void write_extended(offs_t offset, uint8_t data);
protected:
- virtual int data_size() override { return 256; }
+ virtual int data_size() const override { return 256; }
};
// device type definition