diff options
Diffstat (limited to 'src/mess/includes/wswan.h')
-rw-r--r-- | src/mess/includes/wswan.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mess/includes/wswan.h b/src/mess/includes/wswan.h index 418b44f5021..391dd901b98 100644 --- a/src/mess/includes/wswan.h +++ b/src/mess/includes/wswan.h @@ -40,9 +40,9 @@ public: m_cart(*this, "cartslot"), m_cursx(*this, "CURSX"), m_cursy(*this, "CURSY"), - m_buttons(*this, "BUTTONS") + m_buttons(*this, "BUTTONS") { } - + required_device<cpu_device> m_maincpu; required_device<wswan_video_device> m_vdp; required_device<wswan_sound_device> m_sound; @@ -50,7 +50,7 @@ public: DECLARE_READ8_MEMBER(bios_r); DECLARE_READ8_MEMBER(port_r); DECLARE_WRITE8_MEMBER(port_w); - + UINT8 m_ws_portram[256]; UINT8 m_internal_eeprom[INTERNAL_EEPROM_SIZE]; UINT8 m_system_type; @@ -58,7 +58,7 @@ public: UINT8 *m_ws_bios_bank; UINT8 m_bios_disabled; UINT8 m_rotate; - + void set_irq_line(int irq); void dma_sound_cb(); void common_start(); @@ -67,7 +67,7 @@ public: DECLARE_PALETTE_INIT(wswan); DECLARE_MACHINE_START(wscolor); DECLARE_PALETTE_INIT(wscolor); - + protected: /* Interrupt flags */ static const UINT8 WSWAN_IFLAG_STX = 0x01; @@ -78,7 +78,7 @@ protected: static const UINT8 WSWAN_IFLAG_VBLTMR = 0x20; static const UINT8 WSWAN_IFLAG_VBL = 0x40; static const UINT8 WSWAN_IFLAG_HBLTMR = 0x80; - + /* Interrupts */ static const UINT8 WSWAN_INT_STX = 0; static const UINT8 WSWAN_INT_KEY = 1; @@ -88,11 +88,11 @@ protected: static const UINT8 WSWAN_INT_VBLTMR = 5; static const UINT8 WSWAN_INT_VBL = 6; static const UINT8 WSWAN_INT_HBLTMR = 7; - + required_ioport m_cursx; required_ioport m_cursy; required_ioport m_buttons; - + void register_save(); void handle_irqs(); void clear_irq_line(int irq); |