summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/rp5h01.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-25 21:34:42 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-25 21:34:42 +1000
commit1c98b515c5a10728d3d679ac7215440e55158f38 (patch)
tree0083c3d073488fa7d40e14c7fb4624bb19bff41a /src/devices/machine/rp5h01.h
parentcf8060d762ffddd8dbb923e5db9d2e6f7eed49e0 (diff)
* Doxyfy a significant chunk of devfind.h
* Eliminate a lot of boilerplate code from devfind.h * Keep instantiation of templates in one place to improve build time * Remove some dangerous accessors
Diffstat (limited to 'src/devices/machine/rp5h01.h')
-rw-r--r--src/devices/machine/rp5h01.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/machine/rp5h01.h b/src/devices/machine/rp5h01.h
index c33a80a998b..e1810b181ff 100644
--- a/src/devices/machine/rp5h01.h
+++ b/src/devices/machine/rp5h01.h
@@ -36,8 +36,6 @@ enum {
class rp5h01_device : public device_t
{
- static UINT8 s_initial_data[0x10];
-
public:
rp5h01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
@@ -56,13 +54,16 @@ protected:
virtual void device_reset() override;
private:
+ static UINT8 const s_initial_data[0x10];
+
// internal state
int m_counter;
int m_counter_mode; /* test pin */
int m_enabled; /* chip enable */
int m_old_reset; /* reset pin state (level-triggered) */
int m_old_clock; /* clock pin state (level-triggered) */
- optional_region_ptr<UINT8> m_data;
+ UINT8 const *m_data;
+ optional_region_ptr<UINT8> m_rom;
};
extern const device_type RP5H01;