diff options
author | 2018-02-15 19:05:05 +0100 | |
---|---|---|
committer | 2018-02-15 19:05:05 +0100 | |
commit | 504dbe7b1a843c84d5b2fe21d59821c6e9b47d6f (patch) | |
tree | 8003670f0bb7c6d73b332b2335658309738d9757 /src/devices/machine/er2055.h | |
parent | d846c04d02292faa48422f6a77b58ae209547711 (diff) |
devices/machine: some private-ization (nw)
+ removed some duplication
Diffstat (limited to 'src/devices/machine/er2055.h')
-rw-r--r-- | src/devices/machine/er2055.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/machine/er2055.h b/src/devices/machine/er2055.h index a886abab81d..49ece715dc9 100644 --- a/src/devices/machine/er2055.h +++ b/src/devices/machine/er2055.h @@ -46,7 +46,6 @@ public: // control lines -- all lines are specified as active-high (even CS2) void set_control(uint8_t cs1, uint8_t cs2, uint8_t c1, uint8_t c2, uint8_t ck); - void er2055_map(address_map &map); protected: // device-level overrides virtual void device_start() override; @@ -59,6 +58,7 @@ protected: virtual void nvram_read(emu_file &file) override; virtual void nvram_write(emu_file &file) override; +private: static const int SIZE_DATA = 0x40; static const uint8_t CK = 0x01; @@ -76,6 +76,8 @@ protected: uint8_t m_control_state; uint8_t m_address; uint8_t m_data; + + void er2055_map(address_map &map); }; |