summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/naomi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/naomi.h')
-rw-r--r--src/mame/includes/naomi.h31
1 files changed, 15 insertions, 16 deletions
diff --git a/src/mame/includes/naomi.h b/src/mame/includes/naomi.h
index 3c3489c6af9..3ab55ff76b7 100644
--- a/src/mame/includes/naomi.h
+++ b/src/mame/includes/naomi.h
@@ -39,12 +39,12 @@ enum {
class naomi_state : public dc_state
{
- public:
- naomi_state(const machine_config &mconfig, device_type type, const char *tag)
- : dc_state(mconfig, type, tag),
- m_eeprom(*this, "main_eeprom"),
- m_rombase(*this, "rombase")
- { }
+public:
+ naomi_state(const machine_config &mconfig, device_type type, const char *tag)
+ : dc_state(mconfig, type, tag)
+ , m_eeprom(*this, "main_eeprom")
+ , m_rombase(*this, "rombase")
+ { }
required_device<eeprom_serial_93cxx_device> m_eeprom;
optional_shared_ptr<uint64_t> m_rombase;
@@ -95,11 +95,12 @@ class naomi2_state : public naomi_state
{
public:
naomi2_state(const machine_config &mconfig, device_type type, const char *tag)
- : naomi_state(mconfig, type, tag),
- m_pvr2_texture_ram(*this, "textureram2"),
- m_pvr2_framebuffer_ram(*this, "frameram2"),
- m_elan_ram(*this, "elan_ram"),
- m_powervr2_slave(*this, "powervr2_slave") { }
+ : naomi_state(mconfig, type, tag)
+ , m_pvr2_texture_ram(*this, "textureram2")
+ , m_pvr2_framebuffer_ram(*this, "frameram2")
+ , m_elan_ram(*this, "elan_ram")
+ , m_powervr2_slave(*this, "powervr2_slave")
+ { }
required_shared_ptr<uint64_t> m_pvr2_texture_ram;
required_shared_ptr<uint64_t> m_pvr2_framebuffer_ram;
@@ -119,14 +120,12 @@ class atomiswave_state : public dc_state
{
public:
atomiswave_state(const machine_config &mconfig, device_type type, const char *tag)
- : dc_state(mconfig, type, tag),
- m_awflash(*this, "awflash")
- { }
+ : dc_state(mconfig, type, tag)
+ , m_awflash(*this, "awflash")
+ { }
required_device<macronix_29l001mc_device> m_awflash;
- DECLARE_READ64_MEMBER( aw_flash_r );
- DECLARE_WRITE64_MEMBER( aw_flash_w );
DECLARE_READ64_MEMBER( aw_modem_r );
DECLARE_WRITE64_MEMBER( aw_modem_w );