mirror of
https://github.com/holub/mame
synced 2025-07-01 00:09:18 +03:00
Fix clang build
This commit is contained in:
parent
17ae3ef216
commit
2a2cd129f2
@ -115,7 +115,7 @@ void device_a78_cart_interface::nvram_alloc(UINT32 size)
|
||||
a78_cart_slot_device::a78_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, A78_CART_SLOT, "Atari 7800 Cartridge Slot", tag, owner, clock, "a78_cart_slot", __FILE__),
|
||||
device_image_interface(mconfig, *this),
|
||||
device_slot_interface(mconfig, *this), m_cart(nullptr), m_type(0), m_stick_type(0)
|
||||
device_slot_interface(mconfig, *this), m_cart(nullptr), m_type(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,6 @@ public:
|
||||
private:
|
||||
device_a78_cart_interface* m_cart;
|
||||
int m_type;
|
||||
int m_stick_type;
|
||||
|
||||
int verify_header(char *header);
|
||||
int validate_header(int head, bool log);
|
||||
|
@ -321,7 +321,7 @@ sc499_device::sc499_device(const machine_config &mconfig, const char *tag, devic
|
||||
m_iobase(*this, "IO_BASE"),
|
||||
m_irqdrq(*this, "IRQ_DRQ"), m_data(0), m_command(0), m_status(0), m_control(0), m_has_cartridge(0), m_is_writable(0), m_current_command(0), m_first_block_hack(0), m_nasty_readahead(0), m_read_block_pending(0),
|
||||
m_data_index(0), m_tape_status(0), m_data_error_counter(0), m_underrun_counter(0), m_tape_pos(0), m_ctape_block_count(0), m_ctape_block_index(0), m_image_length(0),
|
||||
m_image(*this, SC499_CTAPE_TAG), irq_state(), dma_drq_state(), m_timer(nullptr), m_timer1(nullptr), m_timer_type(0), m_irq(0), m_drq(0), m_installed(false)
|
||||
m_image(*this, SC499_CTAPE_TAG), irq_state(), dma_drq_state(), m_timer(nullptr), m_timer1(nullptr), m_irq(0), m_drq(0), m_installed(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -144,7 +144,6 @@ private:
|
||||
|
||||
emu_timer * m_timer; // timer to delay functions
|
||||
emu_timer * m_timer1; // timer to delay functions
|
||||
int m_timer_type;
|
||||
int m_irq, m_drq;
|
||||
|
||||
bool m_installed;
|
||||
|
@ -91,7 +91,7 @@ myarc_hfdc_device::myarc_hfdc_device(const machine_config &mconfig, const char *
|
||||
: ti_expansion_card_device(mconfig, TI99_HFDC, "Myarc Hard and Floppy Disk Controller", tag, owner, clock, "ti99_hfdc", __FILE__), m_motor_on_timer(nullptr),
|
||||
m_hdc9234(*this, FDC_TAG),
|
||||
m_clock(*this, CLOCK_TAG), m_current_floppy(nullptr), m_current_harddisk(nullptr), m_see_switches(false), m_irq(), m_dip(), m_motor_running(false),
|
||||
m_inDsrArea(false), m_HDCsel(false), m_RTCsel(false), m_tapesel(false), m_RAMsel(false), m_ROMsel(false), m_address(0), m_dma_in_progress(false),
|
||||
m_inDsrArea(false), m_HDCsel(false), m_RTCsel(false), m_tapesel(false), m_RAMsel(false), m_ROMsel(false), m_address(0),
|
||||
m_wait_for_hd1(false), m_dsrrom(nullptr), m_rom_page(0), m_buffer_ram(nullptr), m_status_latch(0), m_dma_address(0), m_output1_latch(0), m_output2_latch(0), m_lastval(0), m_MOTOR_ON(), m_readyflags(0)
|
||||
{
|
||||
}
|
||||
|
@ -139,9 +139,6 @@ private:
|
||||
// Recent address
|
||||
int m_address;
|
||||
|
||||
// DMA in progress
|
||||
bool m_dma_in_progress;
|
||||
|
||||
// Wait for HD. This was an addition in later cards.
|
||||
bool m_wait_for_hd1;
|
||||
|
||||
|
@ -85,7 +85,6 @@ v60_device::v60_device(const machine_config &mconfig, const char *tag, device_t
|
||||
: cpu_device(mconfig, V60, "V60", tag, owner, clock, "v60", __FILE__)
|
||||
, m_program_config("program", ENDIANNESS_LITTLE, 16, 24, 0)
|
||||
, m_io_config("io", ENDIANNESS_LITTLE, 16, 24, 0)
|
||||
, m_fetch_xor(BYTE_XOR_LE(0))
|
||||
, m_start_pc(0xfffff0)
|
||||
{
|
||||
// Set m_PIR (Processor ID) for NEC m_ LSB is reserved to NEC,
|
||||
@ -98,7 +97,6 @@ v60_device::v60_device(const machine_config &mconfig, device_type type, const ch
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
, m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0)
|
||||
, m_io_config("io", ENDIANNESS_LITTLE, 16, 24, 0)
|
||||
, m_fetch_xor(BYTE4_XOR_LE(0))
|
||||
, m_start_pc(0xfffffff0)
|
||||
{
|
||||
// Set m_PIR (Processor ID) for NEC v70. LSB is reserved to NEC,
|
||||
|
@ -151,7 +151,6 @@ private:
|
||||
address_space_config m_program_config;
|
||||
address_space_config m_io_config;
|
||||
|
||||
offs_t m_fetch_xor;
|
||||
offs_t m_start_pc;
|
||||
UINT32 m_reg[68];
|
||||
struct {
|
||||
|
@ -65,8 +65,6 @@ private:
|
||||
UINT32 lsi53c810_dasm_fetch(UINT32 pc);
|
||||
unsigned lsi53c810_dasm(char *buf, UINT32 pc);
|
||||
|
||||
UINT8 last_id;
|
||||
|
||||
UINT8 scntl0;
|
||||
UINT8 scntl1;
|
||||
UINT8 scntl2;
|
||||
|
@ -91,8 +91,6 @@ private:
|
||||
double audio_buffer[2][32*32];
|
||||
int audio_buffer_pos[2];
|
||||
|
||||
int master_pos;
|
||||
|
||||
int current_pos, current_limit;
|
||||
|
||||
void read_header_amm(bool layer25);
|
||||
|
@ -155,7 +155,6 @@ private:
|
||||
UINT8 m_p3;
|
||||
UINT16 m_last_write_addr;
|
||||
UINT8 m_cass_data[4];
|
||||
int m_centronics_busy;
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<mc6845_device> m_crtc;
|
||||
required_device<via6522_device> m_via;
|
||||
|
@ -88,7 +88,6 @@ private:
|
||||
UINT8 m_kbdrow;
|
||||
UINT8 m_diag;
|
||||
bool m_ca1;
|
||||
bool m_irq_active;
|
||||
UINT8 m_sound_data;
|
||||
|
||||
public:
|
||||
|
@ -123,9 +123,6 @@ public:
|
||||
UINT8 m_duart_io;
|
||||
bool m_bCalibSecondByte;
|
||||
|
||||
private:
|
||||
UINT32 *m_rom, *m_ram;
|
||||
|
||||
public:
|
||||
DECLARE_DRIVER_INIT(kt);
|
||||
DECLARE_WRITE_LINE_MEMBER(esq5506_otto_irq);
|
||||
|
@ -63,13 +63,11 @@ public:
|
||||
m_caps1(*this, "capsule1"), m_caps2(*this, "capsule2"),
|
||||
m_caps1_rom(nullptr), m_caps2_rom(nullptr),
|
||||
m_ctrl1(0), m_icrb(0), m_bankr(0),
|
||||
m_isr(0), m_ier(0), m_str(0), m_sior(0xbf),
|
||||
m_isr(0), m_ier(0), m_sior(0xbf),
|
||||
m_frc_value(0), m_frc_latch(0),
|
||||
m_vadr(0), m_yoff(0),
|
||||
m_receive_timer(nullptr), m_transmit_timer(nullptr),
|
||||
m_artdir(0xff), m_artdor(0xff), m_artsr(0), m_artcr(0),
|
||||
m_swr(0),
|
||||
m_one_sec_int_enabled(true), m_alarm_int_enabled(true), m_key_int_enabled(true),
|
||||
m_one_sec_int_enabled(true),
|
||||
m_key_status(0), m_interrupt_status(0),
|
||||
m_time(), m_clock_state(0),
|
||||
m_ear_last_state(0),
|
||||
@ -202,7 +200,6 @@ private:
|
||||
UINT8 m_bankr;
|
||||
UINT8 m_isr;
|
||||
UINT8 m_ier;
|
||||
UINT8 m_str;
|
||||
UINT8 m_sior;
|
||||
|
||||
// gapnit internal
|
||||
@ -214,8 +211,6 @@ private:
|
||||
UINT8 m_yoff;
|
||||
|
||||
// gapnio
|
||||
emu_timer *m_receive_timer;
|
||||
emu_timer *m_transmit_timer;
|
||||
UINT8 m_artdir;
|
||||
UINT8 m_artdor;
|
||||
UINT8 m_artsr;
|
||||
@ -224,7 +219,6 @@ private:
|
||||
|
||||
// 7508 internal
|
||||
bool m_one_sec_int_enabled;
|
||||
bool m_alarm_int_enabled;
|
||||
bool m_key_int_enabled;
|
||||
|
||||
UINT8 m_key_status;
|
||||
|
@ -275,8 +275,6 @@ private:
|
||||
void set_timer_callback(int channel);
|
||||
|
||||
// internal state
|
||||
emu_timer *m_interrupt_timer;
|
||||
|
||||
UINT16 m_seeds[10];
|
||||
UINT8 m_state[8];
|
||||
|
||||
|
@ -107,7 +107,6 @@ nick_device::nick_device(const machine_config &mconfig, const char *tag, device_
|
||||
device_video_interface(mconfig, *this),
|
||||
m_space_config("vram", ENDIANNESS_LITTLE, 8, 16, 0, *ADDRESS_MAP_NAME(nick_map)),
|
||||
m_write_virq(*this),
|
||||
horizontal_clock(0),
|
||||
m_scanline_count(0),
|
||||
m_FIXBIAS(0),
|
||||
m_BORDER(0),
|
||||
|
@ -129,8 +129,6 @@ private:
|
||||
void reload_lpt();
|
||||
void do_line();
|
||||
|
||||
/* horizontal position */
|
||||
UINT8 horizontal_clock;
|
||||
/* current scanline within LPT */
|
||||
UINT8 m_scanline_count;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user