mirror of
https://github.com/holub/mame
synced 2025-06-17 09:49:31 +03:00
clang build fix. (nw)
This commit is contained in:
parent
8db8ef278e
commit
f300367db2
@ -57,7 +57,7 @@ cr511b_device::cr511b_device(const machine_config &mconfig, const char *tag, dev
|
|||||||
m_scor_handler(*this),
|
m_scor_handler(*this),
|
||||||
m_xaen_handler(*this),
|
m_xaen_handler(*this),
|
||||||
m_frame_timer(NULL),
|
m_frame_timer(NULL),
|
||||||
m_motor(false),
|
//m_motor(false),
|
||||||
m_enabled(-1),
|
m_enabled(-1),
|
||||||
m_cmd(-1)
|
m_cmd(-1)
|
||||||
{
|
{
|
||||||
|
@ -136,14 +136,14 @@ private:
|
|||||||
|
|
||||||
emu_timer *m_frame_timer;
|
emu_timer *m_frame_timer;
|
||||||
|
|
||||||
bool m_motor;
|
//bool m_motor;
|
||||||
|
|
||||||
// state of lines
|
// state of lines
|
||||||
int m_enabled;
|
int m_enabled;
|
||||||
int m_cmd;
|
int m_cmd;
|
||||||
|
|
||||||
// data transfer
|
// data transfer
|
||||||
UINT8 m_sector_buffer[CD_MAX_SECTOR_DATA];
|
//UINT8 m_sector_buffer[CD_MAX_SECTOR_DATA];
|
||||||
};
|
};
|
||||||
|
|
||||||
// device type definition
|
// device type definition
|
||||||
|
@ -89,9 +89,9 @@ class a500_state : public amiga_state
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
a500_state(const machine_config &mconfig, device_type type, const char *tag) :
|
a500_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||||
amiga_state(mconfig, type, tag),
|
amiga_state(mconfig, type, tag)
|
||||||
m_side_int2(0),
|
//m_side_int2(0),
|
||||||
m_side_int6(0)
|
//m_side_int6(0)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
DECLARE_DRIVER_INIT( pal );
|
DECLARE_DRIVER_INIT( pal );
|
||||||
@ -101,8 +101,8 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
// internal state
|
// internal state
|
||||||
int m_side_int2;
|
//int m_side_int2;
|
||||||
int m_side_int6;
|
//int m_side_int6;
|
||||||
};
|
};
|
||||||
|
|
||||||
class cdtv_state : public amiga_state
|
class cdtv_state : public amiga_state
|
||||||
@ -182,9 +182,9 @@ class a500p_state : public amiga_state
|
|||||||
public:
|
public:
|
||||||
a500p_state(const machine_config &mconfig, device_type type, const char *tag) :
|
a500p_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||||
amiga_state(mconfig, type, tag),
|
amiga_state(mconfig, type, tag),
|
||||||
m_rtc(*this, "u9"),
|
m_rtc(*this, "u9")
|
||||||
m_side_int2(0),
|
//m_side_int2(0),
|
||||||
m_side_int6(0)
|
//m_side_int6(0)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
DECLARE_READ16_MEMBER( clock_r );
|
DECLARE_READ16_MEMBER( clock_r );
|
||||||
@ -200,8 +200,8 @@ private:
|
|||||||
required_device<msm6242_device> m_rtc;
|
required_device<msm6242_device> m_rtc;
|
||||||
|
|
||||||
// internal state
|
// internal state
|
||||||
int m_side_int2;
|
//int m_side_int2;
|
||||||
int m_side_int6;
|
//int m_side_int6;
|
||||||
};
|
};
|
||||||
|
|
||||||
class a600_state : public amiga_state
|
class a600_state : public amiga_state
|
||||||
@ -236,8 +236,8 @@ class a1200_state : public amiga_state
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
a1200_state(const machine_config &mconfig, device_type type, const char *tag) :
|
a1200_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||||
amiga_state(mconfig, type, tag),
|
amiga_state(mconfig, type, tag)
|
||||||
m_gayle_id_count(0)
|
//m_gayle_id_count(0)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
DECLARE_READ32_MEMBER( ide_r );
|
DECLARE_READ32_MEMBER( ide_r );
|
||||||
@ -254,7 +254,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
static const int GAYLE_ID = 0xd1;
|
static const int GAYLE_ID = 0xd1;
|
||||||
|
|
||||||
int m_gayle_id_count;
|
//int m_gayle_id_count;
|
||||||
UINT8 m_gayle_reg[4];
|
UINT8 m_gayle_reg[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user