diff options
Diffstat (limited to 'src/devices/machine/vrender0.h')
-rw-r--r-- | src/devices/machine/vrender0.h | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/src/devices/machine/vrender0.h b/src/devices/machine/vrender0.h index 1d11acbacab..10bb28e8aac 100644 --- a/src/devices/machine/vrender0.h +++ b/src/devices/machine/vrender0.h @@ -20,14 +20,6 @@ #include "diserial.h" //************************************************************************** -// INTERFACE CONFIGURATION MACROS -//************************************************************************** - -#define IDLE_LOOP_SPEEDUP - - - -//************************************************************************** // TYPE DEFINITIONS //************************************************************************** @@ -103,7 +95,7 @@ public: bool irq_pending() { return m_intst; } void write_line_tx(int port, uint8_t value); template <int Port> auto tx_callback() { return write_tx[Port].bind(); } - template <int Port> DECLARE_WRITE_LINE_MEMBER(rx_w) { m_uart[Port]->rx_w((uint8_t)state); } + template <int Port> void rx_w(int state) { m_uart[Port]->rx_w((uint8_t)state); } protected: // device-level overrides @@ -143,14 +135,14 @@ private: uint32_t intst_r(); void intst_w(uint32_t data); - DECLARE_WRITE_LINE_MEMBER(soundirq_cb); + void soundirq_cb(int state); // Timer template<int Which> void tmcon_w(offs_t offset, uint32_t data, uint32_t mem_mask = ~0); template<int Which> uint32_t tmcon_r(); template<int Which> void tmcnt_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); template<int Which> uint16_t tmcnt_r(); - TIMER_CALLBACK_MEMBER(Timercb); + template<int Which> TIMER_CALLBACK_MEMBER(Timercb); uint32_t m_timer_control[4] = { 0, 0, 0, 0 }; uint16_t m_timer_count[4] = { 0, 0, 0, 0 }; @@ -185,19 +177,12 @@ private: uint32_t cfgr_r(); uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - DECLARE_WRITE_LINE_MEMBER(screen_vblank); + void screen_vblank(int state); uint16_t textureram_r(offs_t offset); void textureram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); uint16_t frameram_r(offs_t offset); void frameram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); - - // Hacks -#ifdef IDLE_LOOP_SPEEDUP - uint8_t m_FlipCntRead = 0; - DECLARE_WRITE_LINE_MEMBER(idle_skip_resume_w); - DECLARE_WRITE_LINE_MEMBER(idle_skip_speedup_w); -#endif }; |