diff options
author | 2015-12-27 09:34:52 +0100 | |
---|---|---|
committer | 2015-12-27 09:34:52 +0100 | |
commit | 2a2cd129f26167fa816ed802f30b032e3a829411 (patch) | |
tree | df6df4fd78922085ad8f6a26812e3f9be107f548 /src | |
parent | 17ae3ef21690295bc505d22338af485aaac988f1 (diff) |
Fix clang build
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/bus/a7800/a78_slot.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/a7800/a78_slot.h | 1 | ||||
-rw-r--r-- | src/devices/bus/isa/sc499.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/isa/sc499.h | 1 | ||||
-rw-r--r-- | src/devices/bus/ti99_peb/hfdc.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/ti99_peb/hfdc.h | 3 | ||||
-rw-r--r-- | src/devices/cpu/v60/v60.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/v60/v60.h | 1 | ||||
-rw-r--r-- | src/devices/machine/53c810.h | 2 | ||||
-rw-r--r-- | src/devices/sound/mpeg_audio.h | 2 | ||||
-rw-r--r-- | src/mame/drivers/applix.cpp | 1 | ||||
-rw-r--r-- | src/mame/drivers/de_3.cpp | 1 | ||||
-rw-r--r-- | src/mame/drivers/esqkt.cpp | 3 | ||||
-rw-r--r-- | src/mame/drivers/px4.cpp | 10 | ||||
-rw-r--r-- | src/mame/machine/cdi070.h | 2 | ||||
-rw-r--r-- | src/mame/video/nick.cpp | 1 | ||||
-rw-r--r-- | src/mame/video/nick.h | 2 |
17 files changed, 5 insertions, 33 deletions
diff --git a/src/devices/bus/a7800/a78_slot.cpp b/src/devices/bus/a7800/a78_slot.cpp index 9fc76685842..8b55aa228c7 100644 --- a/src/devices/bus/a7800/a78_slot.cpp +++ b/src/devices/bus/a7800/a78_slot.cpp @@ -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) { } diff --git a/src/devices/bus/a7800/a78_slot.h b/src/devices/bus/a7800/a78_slot.h index 2ba457e6274..791f9291981 100644 --- a/src/devices/bus/a7800/a78_slot.h +++ b/src/devices/bus/a7800/a78_slot.h @@ -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); diff --git a/src/devices/bus/isa/sc499.cpp b/src/devices/bus/isa/sc499.cpp index d7ab74f50c0..d17e629a271 100644 --- a/src/devices/bus/isa/sc499.cpp +++ b/src/devices/bus/isa/sc499.cpp @@ -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) { } diff --git a/src/devices/bus/isa/sc499.h b/src/devices/bus/isa/sc499.h index db412af926b..8c63f810073 100644 --- a/src/devices/bus/isa/sc499.h +++ b/src/devices/bus/isa/sc499.h @@ -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; diff --git a/src/devices/bus/ti99_peb/hfdc.cpp b/src/devices/bus/ti99_peb/hfdc.cpp index 6e2e11fe628..c3e4779c1ef 100644 --- a/src/devices/bus/ti99_peb/hfdc.cpp +++ b/src/devices/bus/ti99_peb/hfdc.cpp @@ -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) { } diff --git a/src/devices/bus/ti99_peb/hfdc.h b/src/devices/bus/ti99_peb/hfdc.h index 63cdbb441e7..ec51e3122d6 100644 --- a/src/devices/bus/ti99_peb/hfdc.h +++ b/src/devices/bus/ti99_peb/hfdc.h @@ -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; diff --git a/src/devices/cpu/v60/v60.cpp b/src/devices/cpu/v60/v60.cpp index 2a770739e25..61764add79a 100644 --- a/src/devices/cpu/v60/v60.cpp +++ b/src/devices/cpu/v60/v60.cpp @@ -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, diff --git a/src/devices/cpu/v60/v60.h b/src/devices/cpu/v60/v60.h index acb1c70bfcf..a7b2c886d5e 100644 --- a/src/devices/cpu/v60/v60.h +++ b/src/devices/cpu/v60/v60.h @@ -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 { diff --git a/src/devices/machine/53c810.h b/src/devices/machine/53c810.h index 509e69a1638..49ac2281e2f 100644 --- a/src/devices/machine/53c810.h +++ b/src/devices/machine/53c810.h @@ -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; diff --git a/src/devices/sound/mpeg_audio.h b/src/devices/sound/mpeg_audio.h index e89988d24ae..428d18f63bc 100644 --- a/src/devices/sound/mpeg_audio.h +++ b/src/devices/sound/mpeg_audio.h @@ -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); diff --git a/src/mame/drivers/applix.cpp b/src/mame/drivers/applix.cpp index d6979cefc91..f2cd3a9650a 100644 --- a/src/mame/drivers/applix.cpp +++ b/src/mame/drivers/applix.cpp @@ -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; diff --git a/src/mame/drivers/de_3.cpp b/src/mame/drivers/de_3.cpp index c31e6698c92..d178dd64d44 100644 --- a/src/mame/drivers/de_3.cpp +++ b/src/mame/drivers/de_3.cpp @@ -88,7 +88,6 @@ private: UINT8 m_kbdrow; UINT8 m_diag; bool m_ca1; - bool m_irq_active; UINT8 m_sound_data; public: diff --git a/src/mame/drivers/esqkt.cpp b/src/mame/drivers/esqkt.cpp index a9bfb23947c..b1a40fbb732 100644 --- a/src/mame/drivers/esqkt.cpp +++ b/src/mame/drivers/esqkt.cpp @@ -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); diff --git a/src/mame/drivers/px4.cpp b/src/mame/drivers/px4.cpp index 13e85e85759..2787206ecfc 100644 --- a/src/mame/drivers/px4.cpp +++ b/src/mame/drivers/px4.cpp @@ -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; diff --git a/src/mame/machine/cdi070.h b/src/mame/machine/cdi070.h index 59f8685ae05..7f3cff2d905 100644 --- a/src/mame/machine/cdi070.h +++ b/src/mame/machine/cdi070.h @@ -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]; diff --git a/src/mame/video/nick.cpp b/src/mame/video/nick.cpp index 0da67848e5e..68b9011d31c 100644 --- a/src/mame/video/nick.cpp +++ b/src/mame/video/nick.cpp @@ -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), diff --git a/src/mame/video/nick.h b/src/mame/video/nick.h index 3f4ab283654..ba701283cd9 100644 --- a/src/mame/video/nick.h +++ b/src/mame/video/nick.h @@ -129,8 +129,6 @@ private: void reload_lpt(); void do_line(); - /* horizontal position */ - UINT8 horizontal_clock; /* current scanline within LPT */ UINT8 m_scanline_count; |