diff options
| author | 2015-12-27 09:34:52 +0100 | |
|---|---|---|
| committer | 2015-12-27 09:34:52 +0100 | |
| commit | 2a2cd129f26167fa816ed802f30b032e3a829411 (patch) | |
| tree | df6df4fd78922085ad8f6a26812e3f9be107f548 /src/devices | |
| parent | 17ae3ef21690295bc505d22338af485aaac988f1 (diff) | |
Fix clang build
Diffstat (limited to 'src/devices')
| -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 |
10 files changed, 3 insertions, 15 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); |
