diff options
author | 2011-05-08 19:52:50 +0000 | |
---|---|---|
committer | 2011-05-08 19:52:50 +0000 | |
commit | 787811844666f4058bb408e9fbf00efc304c8e48 (patch) | |
tree | 3e393ead2773a45f963880594a48ebd64a332e27 /src/emu/devcb.h | |
parent | 2bb589beaf77f9ac14481cd2413bf610c97690f8 (diff) |
Cleanups and version bumpmame0142u3
Diffstat (limited to 'src/emu/devcb.h')
-rw-r--r-- | src/emu/devcb.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/emu/devcb.h b/src/emu/devcb.h index b45e4be3b3a..6ce7c70ca3f 100644 --- a/src/emu/devcb.h +++ b/src/emu/devcb.h @@ -179,7 +179,7 @@ void devcb_stub16(device_t *device, offs_t offset, UINT16 data) #define DEVCB_LINE_VCC DEVCB_CONSTANT(1) // read/write handlers for a given CPU's address space -#define DEVCB_MEMORY_HANDLER(cpu,space,func) { DEVCB_TYPE_LEGACY_SPACE, AS_##space, (cpu), #func, NULL, NULL, func } +#define DEVCB_MEMORY_HANDLER(cpu,space,func) { DEVCB_TYPE_LEGACY_SPACE, AS_##space, (cpu), #func, NULL, NULL, func } // read handlers for an I/O port by tag #define DEVCB_INPUT_PORT(tag) { DEVCB_TYPE_IOPORT, 0, (tag), NULL, NULL, NULL, NULL } @@ -273,10 +273,10 @@ public: // resolution void resolve(const devcb_read_line &desc, device_t &device); - + // override parent class' notion of NULL bool isnull() const { return m_helper.null_indicator == &s_null; } - + private: // internal helpers int from_port(); @@ -284,7 +284,7 @@ private: int from_constant(); // internal state - devcb_resolved_objects m_object; + devcb_resolved_objects m_object; devcb_resolved_read_helpers m_helper; static UINT8 s_null; }; @@ -322,10 +322,10 @@ public: // resolution void resolve(const devcb_write_line &desc, device_t &device); - + // override parent class' notion of NULL bool isnull() const { return m_helper.null_indicator == &s_null; } - + private: // internal helpers void to_null(int state); @@ -334,8 +334,8 @@ private: void to_input(int state); // internal state - devcb_resolved_objects m_object; - devcb_resolved_write_helpers m_helper; + devcb_resolved_objects m_object; + devcb_resolved_write_helpers m_helper; static UINT8 s_null; }; @@ -372,10 +372,10 @@ public: // resolution void resolve(const devcb_read8 &desc, device_t &device); - + // override parent class' notion of NULL bool isnull() const { return m_helper.null_indicator == &s_null; } - + private: // internal helpers UINT8 from_port(offs_t offset); @@ -383,7 +383,7 @@ private: UINT8 from_constant(offs_t offset); // internal state - devcb_resolved_objects m_object; + devcb_resolved_objects m_object; devcb_resolved_read_helpers m_helper; static UINT8 s_null; }; @@ -421,10 +421,10 @@ public: // resolution void resolve(const devcb_write8 &desc, device_t &device); - + // override parent class' notion of NULL bool isnull() const { return m_helper.null_indicator == &s_null; } - + private: // internal helpers void to_null(offs_t offset, UINT8 data); @@ -433,8 +433,8 @@ private: void to_input(offs_t offset, UINT8 data); // internal state - devcb_resolved_objects m_object; - devcb_resolved_write_helpers m_helper; + devcb_resolved_objects m_object; + devcb_resolved_write_helpers m_helper; static UINT8 s_null; }; @@ -471,10 +471,10 @@ public: // resolution void resolve(const devcb_read16 &desc, device_t &device); - + // override parent class' notion of NULL bool isnull() const { return m_helper.null_indicator == &s_null; } - + private: // internal helpers UINT16 from_port(offs_t offset, UINT16 mask); @@ -482,7 +482,7 @@ private: UINT16 from_constant(offs_t offset, UINT16 mask); // internal state - devcb_resolved_objects m_object; + devcb_resolved_objects m_object; devcb_resolved_read_helpers m_helper; static UINT8 s_null; }; @@ -520,10 +520,10 @@ public: // resolution void resolve(const devcb_write16 &desc, device_t &device); - + // override parent class' notion of NULL bool isnull() const { return m_helper.null_indicator == &s_null; } - + private: // internal helpers void to_null(offs_t offset, UINT16 data, UINT16 mask); @@ -532,8 +532,8 @@ private: void to_input(offs_t offset, UINT16 data, UINT16 mask); // internal state - devcb_resolved_objects m_object; - devcb_resolved_write_helpers m_helper; + devcb_resolved_objects m_object; + devcb_resolved_write_helpers m_helper; static UINT8 s_null; }; |