diff --git a/src/emu/cpu/dsp56k/opcode.c b/src/emu/cpu/dsp56k/opcode.c index 803a4fe7160..d695ec0a501 100644 --- a/src/emu/cpu/dsp56k/opcode.c +++ b/src/emu/cpu/dsp56k/opcode.c @@ -4,7 +4,7 @@ namespace DSP56K { -Opcode::Opcode(UINT16 w0, UINT16 w1) : m_word0(w0), m_word1(w1) +Opcode::Opcode(UINT16 w0, UINT16 w1) : m_word0(w0)/*, m_word1(w1)*/ { m_instruction = Instruction::decodeInstruction(this, w0, w1); m_parallelMove = ParallelMove::decodeParallelMove(this, w0, w1); diff --git a/src/emu/cpu/dsp56k/opcode.h b/src/emu/cpu/dsp56k/opcode.h index 86f5a3f1350..75e93885f84 100644 --- a/src/emu/cpu/dsp56k/opcode.h +++ b/src/emu/cpu/dsp56k/opcode.h @@ -36,7 +36,7 @@ private: ParallelMove* m_parallelMove; UINT16 m_word0; - UINT16 m_word1; + //UINT16 m_word1; astring dcString() const; }; diff --git a/src/emu/cpu/psx/sio.h b/src/emu/cpu/psx/sio.h index aaa61fb429b..7cc19d04329 100644 --- a/src/emu/cpu/psx/sio.h +++ b/src/emu/cpu/psx/sio.h @@ -82,7 +82,7 @@ private: int deviceCount; int m_outputdata; - int m_inputdata; + //int m_inputdata; }; class psxsio0_device : public psxsio_device diff --git a/src/emu/fileio.c b/src/emu/fileio.c index d2f55fabec8..9e3849dcc66 100644 --- a/src/emu/fileio.c +++ b/src/emu/fileio.c @@ -110,8 +110,8 @@ bool path_iterator::next(astring &buffer, const char *name) file_enumerator::file_enumerator(const char *searchpath) : m_iterator(searchpath), - m_curdir(NULL), - m_buflen(0) + m_curdir(NULL)/*, + m_buflen(0)*/ { } diff --git a/src/emu/fileio.h b/src/emu/fileio.h index 42e3a134f95..ba897fb1072 100644 --- a/src/emu/fileio.h +++ b/src/emu/fileio.h @@ -103,7 +103,7 @@ private: path_iterator m_iterator; osd_directory * m_curdir; astring m_pathbuffer; - int m_buflen; + //int m_buflen; }; diff --git a/src/emu/machine/53c7xx.h b/src/emu/machine/53c7xx.h index 0593612bfdc..073028faa07 100644 --- a/src/emu/machine/53c7xx.h +++ b/src/emu/machine/53c7xx.h @@ -211,7 +211,7 @@ private: emu_timer *m_tm; int m_scripts_state; - int m_scripts_substate; + //int m_scripts_substate; void (ncr53c7xx_device::*m_scripts_op)(); // callbacks diff --git a/src/emu/machine/at29040a.h b/src/emu/machine/at29040a.h index 4a50e6e6b0c..9c431e328fc 100644 --- a/src/emu/machine/at29040a.h +++ b/src/emu/machine/at29040a.h @@ -75,7 +75,7 @@ private: s_pgm_t m_pgm; /* programming state */ bool m_enabling_sdb; /* set when a sdp enable command is in progress */ bool m_disabling_sdb; /* set when a sdp disable command is in progress */ - bool m_dirty; /* set when the memory contents should be set */ + //bool m_dirty; /* set when the memory contents should be set */ bool m_toggle_bit; // indicates flashing in progress (toggles for each query) UINT8* m_programming_buffer; int m_programming_last_offset; diff --git a/src/emu/machine/mc68901.h b/src/emu/machine/mc68901.h index 45f1b78e5ee..788e01a1636 100644 --- a/src/emu/machine/mc68901.h +++ b/src/emu/machine/mc68901.h @@ -165,7 +165,7 @@ private: devcb_resolved_write_line m_out_tdo_func; devcb_resolved_write_line m_out_irq_func; - int m_device_type; /* device type */ + //int m_device_type; /* device type */ /* registers */ UINT8 m_gpip; /* general purpose I/O register */ @@ -195,7 +195,7 @@ private: int m_to[4]; /* timer out latch */ /* interrupt state */ - int m_irqlevel; /* interrupt level latch */ + //int m_irqlevel; /* interrupt level latch */ /* serial state */ UINT8 m_next_rsr; /* receiver status register latch */ diff --git a/src/emu/machine/ncr539x.h b/src/emu/machine/ncr539x.h index b2c4b614967..8b36665aedb 100644 --- a/src/emu/machine/ncr539x.h +++ b/src/emu/machine/ncr539x.h @@ -71,7 +71,7 @@ private: static const int m_fifo_size = 16; UINT8 m_fifo_ptr, m_fifo[m_fifo_size]; - int m_xfer_remaining; // amount in the FIFO when we're in data in phase + //int m_xfer_remaining; // amount in the FIFO when we're in data in phase // read-only registers UINT8 m_status, m_irq_status, m_internal_state, m_fifo_internal_state; diff --git a/src/emu/machine/upd7201.h b/src/emu/machine/upd7201.h index f711826d127..555696fa419 100644 --- a/src/emu/machine/upd7201.h +++ b/src/emu/machine/upd7201.h @@ -136,10 +136,10 @@ private: devcb_resolved_write_line m_out_int_func; // timers - emu_timer *m_rx_a_timer; - emu_timer *m_tx_a_timer; - emu_timer *m_rx_b_timer; - emu_timer *m_tx_b_timer; + //emu_timer *m_rx_a_timer; + //emu_timer *m_tx_a_timer; + //emu_timer *m_rx_b_timer; + //emu_timer *m_tx_b_timer; }; diff --git a/src/emu/sound/2151intf.h b/src/emu/sound/2151intf.h index c8a866384ce..c0c762c10e9 100644 --- a/src/emu/sound/2151intf.h +++ b/src/emu/sound/2151intf.h @@ -67,7 +67,7 @@ private: // internal state sound_stream * m_stream; - emu_timer * m_timer[2]; + //emu_timer * m_timer[2]; void * m_chip; UINT8 m_lastreg; devcb2_write_line m_irqhandler; diff --git a/src/emu/sound/cdp1869.h b/src/emu/sound/cdp1869.h index 843eee30b31..9ec5fb446a2 100644 --- a/src/emu/sound/cdp1869.h +++ b/src/emu/sound/cdp1869.h @@ -269,7 +269,7 @@ private: cdp1869_char_ram_write_func m_out_char_ram_func; screen_device *m_screen; - address_space *m_page_ram; + //address_space *m_page_ram; emu_timer *m_prd_timer; sound_stream *m_stream; diff --git a/src/emu/sound/disc_cls.h b/src/emu/sound/disc_cls.h index 58b643e579f..89147a7bde9 100644 --- a/src/emu/sound/disc_cls.h +++ b/src/emu/sound/disc_cls.h @@ -207,8 +207,8 @@ public: void reset(void); void input_write(int sub_node, UINT8 data ); private: - double m_gain; /* node gain */ - double m_offset; /* node offset */ + //double m_gain; /* node gain */ + //double m_offset; /* node offset */ UINT8 m_data; /* data written */ }; diff --git a/src/emu/sound/disc_dev.h b/src/emu/sound/disc_dev.h index e6722b97fd0..5ccd6cd2963 100644 --- a/src/emu/sound/disc_dev.h +++ b/src/emu/sound/disc_dev.h @@ -98,7 +98,7 @@ DISCRETE_CLASS_STEP_RESET(dsd_555_vco1, 1, ); DISCRETE_CLASS_STEP_RESET(dsd_566, 1, - unsigned int m_state[2]; /* keeps track of excess flip_flop changes during the current step */ + //unsigned int m_state[2]; /* keeps track of excess flip_flop changes during the current step */ int m_flip_flop; /* 566 flip/flop output state */ double m_cap_voltage; /* voltage on cap */ double m_v_sqr_low; /* voltage for a squarewave at low */ diff --git a/src/emu/sound/disc_flt.h b/src/emu/sound/disc_flt.h index a3a69a0fe7f..6c066da974e 100644 --- a/src/emu/sound/disc_flt.h +++ b/src/emu/sound/disc_flt.h @@ -48,7 +48,7 @@ DISCRETE_CLASS_STEP_RESET(dst_crfilter, 1, double m_rc; double m_exponent; UINT8 m_has_rc_nodes; - UINT8 m_is_fast; + //UINT8 m_is_fast; ); DISCRETE_CLASS_STEP_RESET(dst_op_amp_filt, 1, @@ -164,7 +164,7 @@ DISCRETE_CLASS_STEP_RESET(dst_rcdiscN, 1, double m_x1; /* x[k-1], previous input value */ double m_y1; /* y[k-1], previous output value */ double m_a1; /* digital filter coefficients, denominator */ - double m_b[2]; /* digital filter coefficients, numerator */ + //double m_b[2]; /* digital filter coefficients, numerator */ ); DISCRETE_CLASS_STEP_RESET(dst_rcdisc2N, 1, diff --git a/src/emu/sound/disc_wav.h b/src/emu/sound/disc_wav.h index d5c7bc57293..2cd285d7353 100644 --- a/src/emu/sound/disc_wav.h +++ b/src/emu/sound/disc_wav.h @@ -27,7 +27,7 @@ DISCRETE_CLASS_STEP_RESET(dss_counter, 1, int m_is_7492; int m_last_clock; UINT32 m_last_count; - UINT32 m_last; /* Last clock state */ + //UINT32 m_last; /* Last clock state */ UINT32 m_min; UINT32 m_max; UINT32 m_diff; @@ -39,8 +39,8 @@ DISCRETE_CLASS_STEP_RESET(dss_lfsr_noise, 2, int m_last; /* Last clock state */ double m_t_clock; /* fixed counter clock in seconds */ double m_t_left; /* time unused during last sample in seconds */ - double m_sample_step; - double m_t; + //double m_sample_step; + //double m_t; UINT8 m_reset_on_high; UINT8 m_invert_output; UINT8 m_out_is_f0; @@ -184,7 +184,7 @@ DISCRETE_CLASS_STEP_RESET(dss_schmitt_osc, 1, /* Not yet implemented */ DISCRETE_CLASS_STEP_RESET(dss_adsrenv, 1, - double m_phase; + //double m_phase; ); diff --git a/src/emu/uiimage.h b/src/emu/uiimage.h index ffa300a6102..682a74c0b3d 100644 --- a/src/emu/uiimage.h +++ b/src/emu/uiimage.h @@ -84,7 +84,7 @@ private: device_image_interface *image; astring ¤t_directory, ¤t_file; const image_device_format *current_format; - int confirm_save_as_yes; + //int confirm_save_as_yes; char filename_buffer[1024]; }; diff --git a/src/emu/video/crt9007.h b/src/emu/video/crt9007.h index 8bb61136e4b..cb77f38b784 100644 --- a/src/emu/video/crt9007.h +++ b/src/emu/video/crt9007.h @@ -176,8 +176,8 @@ private: int m_vlt; int m_drb; int m_wben; - int m_slg; - int m_sld; + //int m_slg; + //int m_sld; int m_lpstb; // DMA diff --git a/src/emu/video/hd61830.h b/src/emu/video/hd61830.h index 0ff8399919a..8d29920cb39 100644 --- a/src/emu/video/hd61830.h +++ b/src/emu/video/hd61830.h @@ -96,7 +96,7 @@ private: screen_device *m_screen; emu_timer *m_busy_timer; - address_space *m_data; + //address_space *m_data; bool m_bf; // busy flag diff --git a/src/emu/video/pc_vga.h b/src/emu/video/pc_vga.h index 8ca48c6c218..fa9ca83d594 100644 --- a/src/emu/video/pc_vga.h +++ b/src/emu/video/pc_vga.h @@ -341,9 +341,9 @@ private: vga_device* m_vga; // for pass-through astring m_vga_tag; // pass-through device tag - UINT8* m_vram; // the original 8514/A has it's own VRAM, but most VGA+8514 combination cards will have + //UINT8* m_vram; // the original 8514/A has it's own VRAM, but most VGA+8514 combination cards will have // only one set of VRAM, so this will only be needed in standalone 8514/A cards - UINT32 m_vramsize; + //UINT32 m_vramsize; }; // device type definition diff --git a/src/emu/video/sed1330.h b/src/emu/video/sed1330.h index cb2eeef31f2..cde61595833 100644 --- a/src/emu/video/sed1330.h +++ b/src/emu/video/sed1330.h @@ -118,7 +118,7 @@ private: int m_ov; // graphics mode layer composition // devices - screen_device *m_screen; + //screen_device *m_screen; // address space configurations const address_space_config m_space_config; diff --git a/src/mess/drivers/geneve.c b/src/mess/drivers/geneve.c index 520a27b9c36..b692ec5872f 100644 --- a/src/mess/drivers/geneve.c +++ b/src/mess/drivers/geneve.c @@ -273,7 +273,7 @@ public: int m_ready_line, m_ready_line1; private: - int m_joystick_select; + //int m_joystick_select; // Some values to keep. Rest is on the geneve_mapper. }; diff --git a/src/mess/drivers/ti99_8.c b/src/mess/drivers/ti99_8.c index a22998d29d6..b10ef62e3e9 100644 --- a/src/mess/drivers/ti99_8.c +++ b/src/mess/drivers/ti99_8.c @@ -272,7 +272,7 @@ private: /* Keyboard support */ void set_keyboard_column(int number, int data); int m_keyboard_column; - int m_alphalock_line; + //int m_alphalock_line; }; /* diff --git a/src/mess/machine/apollo_kbd.h b/src/mess/machine/apollo_kbd.h index 66ef2557415..de9105fd84e 100644 --- a/src/mess/machine/apollo_kbd.h +++ b/src/mess/machine/apollo_kbd.h @@ -167,8 +167,10 @@ private: void putchar(UINT8 data); private: apollo_kbd_device *m_device; // pointer back to our device +#if defined(KBD_TTY_NAME) const char *m_tty_name; int m_tty_fd; /* File descriptor of keyboard tty */ +#endif int m_connected; }; diff --git a/src/mess/machine/c64_warp_speed.h b/src/mess/machine/c64_warp_speed.h index 0f4165fa67b..cf729e7bd06 100644 --- a/src/mess/machine/c64_warp_speed.h +++ b/src/mess/machine/c64_warp_speed.h @@ -45,7 +45,7 @@ protected: virtual void c64_cd_w(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2); private: - UINT8 m_bank; + //UINT8 m_bank; }; diff --git a/src/mess/machine/cpc_rom.h b/src/mess/machine/cpc_rom.h index 36b41479852..e94a304c8fa 100644 --- a/src/mess/machine/cpc_rom.h +++ b/src/mess/machine/cpc_rom.h @@ -77,7 +77,7 @@ protected: virtual void device_config_complete() { m_shortname = "cpc_rom"; } private: - cpc_expansion_slot_device *m_slot; + //cpc_expansion_slot_device *m_slot; rom_image_device* m_rom[6]; }; diff --git a/src/mess/machine/cs8221.h b/src/mess/machine/cs8221.h index 2ecec2a7e29..33934b0e3a8 100644 --- a/src/mess/machine/cs8221.h +++ b/src/mess/machine/cs8221.h @@ -61,10 +61,10 @@ protected: private: // internal state - address_space *m_space; - UINT8 *m_isa; - UINT8 *m_bios; - UINT8 *m_ram; + //address_space *m_space; + //UINT8 *m_isa; + //UINT8 *m_bios; + //UINT8 *m_ram; // address selection UINT8 m_address; diff --git a/src/mess/machine/fm_scsi.h b/src/mess/machine/fm_scsi.h index b9dc4bb852f..c8e1582cd68 100644 --- a/src/mess/machine/fm_scsi.h +++ b/src/mess/machine/fm_scsi.h @@ -80,7 +80,7 @@ private: scsihle_device* m_SCSIdevices[8]; UINT8 m_command[32]; - UINT8 m_result[32]; + //UINT8 m_result[32]; UINT8 m_command_index; int m_result_length; UINT32 m_result_index; diff --git a/src/mess/machine/isa_gus.h b/src/mess/machine/isa_gus.h index 01b6827c715..eb52ae60a90 100644 --- a/src/mess/machine/isa_gus.h +++ b/src/mess/machine/isa_gus.h @@ -190,9 +190,9 @@ private: UINT8 m_current_voice; UINT8 m_current_reg; - UINT8 m_port; - UINT8 m_irq; - UINT8 m_dma; + //UINT8 m_port; + //UINT8 m_irq; + //UINT8 m_dma; UINT8 m_adlib_cmd; UINT8 m_mix_ctrl; diff --git a/src/mess/machine/isa_wdxt_gen.h b/src/mess/machine/isa_wdxt_gen.h index ac56a0398f2..dc7621e764e 100644 --- a/src/mess/machine/isa_wdxt_gen.h +++ b/src/mess/machine/isa_wdxt_gen.h @@ -77,7 +77,7 @@ private: UINT8 m_ram[0x800]; - UINT8 m_hdc_addr; + //UINT8 m_hdc_addr; }; diff --git a/src/mess/machine/kc_d004.h b/src/mess/machine/kc_d004.h index c66e5225310..0fd4e9342e7 100644 --- a/src/mess/machine/kc_d004.h +++ b/src/mess/machine/kc_d004.h @@ -73,7 +73,7 @@ private: UINT16 m_rom_base; UINT8 m_enabled; UINT8 m_connected; - UINT8 m_active_fdd; + //UINT8 m_active_fdd; floppy_image_device *m_floppy; }; diff --git a/src/mess/machine/midioutport.h b/src/mess/machine/midioutport.h index f1b680a3efc..07a4cc01cc4 100644 --- a/src/mess/machine/midioutport.h +++ b/src/mess/machine/midioutport.h @@ -27,7 +27,7 @@ protected: virtual void device_reset() { } virtual void device_config_complete() { m_shortname = "midiout_port"; } private: - serial_port_device *m_owner; + //serial_port_device *m_owner; required_device m_midiout; }; diff --git a/src/mess/machine/ncr5380n.h b/src/mess/machine/ncr5380n.h index 43675e9838a..924c8402ef5 100644 --- a/src/mess/machine/ncr5380n.h +++ b/src/mess/machine/ncr5380n.h @@ -190,7 +190,7 @@ private: UINT8 clock_conv, sync_offset, sync_period, bus_id, select_timeout, seq; UINT16 tcount; int mode; - int state, xfr_phase; + int state/*, xfr_phase*/; bool irq, drq; diff --git a/src/mess/machine/psxcd.h b/src/mess/machine/psxcd.h index b3ab73c958c..57a752c30b1 100644 --- a/src/mess/machine/psxcd.h +++ b/src/mess/machine/psxcd.h @@ -158,7 +158,7 @@ public: DECLARE_READ8_MEMBER( read ); private: - emu_timer *m_timer; + //emu_timer *m_timer; UINT32 m_sysclock; const char *m_devname; cdrom_image_device *m_cddevice; diff --git a/src/mess/machine/psxcddrv.c b/src/mess/machine/psxcddrv.c index 30c562842e6..1ff93152c6e 100644 --- a/src/mess/machine/psxcddrv.c +++ b/src/mess/machine/psxcddrv.c @@ -317,7 +317,7 @@ class mess_cdrom_driver : public cdrom_driver int num_sectors, num_tracks; toc_entry toc[100]; int bin_sector_size; - const char *err; + //const char *err; io_status *read_sectors(const unsigned int startsec, const unsigned int numsec, unsigned char *buf); @@ -340,7 +340,7 @@ public: }; mess_cdrom_driver::mess_cdrom_driver() - : err(NULL) + //: err(NULL) { for (int i=0; i<100; i++) toc[i].type=track_illegal; diff --git a/src/mess/machine/sns_spc7110.h b/src/mess/machine/sns_spc7110.h index 39f0f2e0764..f33a5f7669d 100644 --- a/src/mess/machine/sns_spc7110.h +++ b/src/mess/machine/sns_spc7110.h @@ -63,7 +63,7 @@ public: private: running_machine& m_machine; - UINT32 m_rom_size; + //UINT32 m_rom_size; }; // ======================> sns_rom_spc7110_device diff --git a/src/mess/machine/ti99/gromport.c b/src/mess/machine/ti99/gromport.c index 1ac78442768..926a72ee6bb 100644 --- a/src/mess/machine/ti99/gromport.c +++ b/src/mess/machine/ti99/gromport.c @@ -1994,8 +1994,8 @@ DTD: Constructor. */ rpk::rpk(emu_options& options, const char* sysname) - :m_options(options), - m_system_name(sysname) + :m_options(options) + //,m_system_name(sysname) { m_sockets.reset(); }; diff --git a/src/mess/machine/ti99/gromport.h b/src/mess/machine/ti99/gromport.h index 66504a84ffa..f9721fe93db 100644 --- a/src/mess/machine/ti99/gromport.h +++ b/src/mess/machine/ti99/gromport.h @@ -437,7 +437,7 @@ public: private: emu_options& m_options; // need this to find the path to the nvram files int m_type; - const char* m_system_name; // need this to find the path to the nvram files + //const char* m_system_name; // need this to find the path to the nvram files tagged_list m_sockets; void add_socket(const char* id, rpk_socket *newsock); diff --git a/src/mess/machine/vic1112.h b/src/mess/machine/vic1112.h index fac875be5a3..bed07415529 100644 --- a/src/mess/machine/vic1112.h +++ b/src/mess/machine/vic1112.h @@ -61,7 +61,7 @@ private: required_device m_via1; required_device m_bus; - UINT8 *m_rom; + //UINT8 *m_rom; int m_via0_irq; int m_via1_irq; diff --git a/src/mess/machine/x68k_hdc.h b/src/mess/machine/x68k_hdc.h index 7144acbe72d..c24874ba4c0 100644 --- a/src/mess/machine/x68k_hdc.h +++ b/src/mess/machine/x68k_hdc.h @@ -106,7 +106,7 @@ private: int m_phase; unsigned char m_status_port; // read at 0xe96003 unsigned char m_status; // status phase output - unsigned char m_message; + //unsigned char m_message; unsigned char m_command[10]; unsigned char m_sense[4]; int m_command_byte_count; diff --git a/src/mess/video/nubus_spec8.h b/src/mess/video/nubus_spec8.h index 6fdc4cbc7da..b75b7c813d2 100644 --- a/src/mess/video/nubus_spec8.h +++ b/src/mess/video/nubus_spec8.h @@ -46,10 +46,10 @@ public: emu_timer *m_timer; private: - UINT32 m_7xxxxx_regs[0x100000/4]; - int m_width, m_height, m_patofsx, m_patofsy; - UINT32 m_vram_addr, m_vram_src; - UINT8 m_fillbytes[256]; + //UINT32 m_7xxxxx_regs[0x100000/4]; + //int m_width, m_height, m_patofsx, m_patofsy; + //UINT32 m_vram_addr, m_vram_src; + //UINT8 m_fillbytes[256]; bool m_vbl_pending; int m_parameter; }; diff --git a/src/mess/video/zx8301.h b/src/mess/video/zx8301.h index 3d320a735f3..10ab66758e2 100644 --- a/src/mess/video/zx8301.h +++ b/src/mess/video/zx8301.h @@ -116,7 +116,7 @@ private: cpu_device *m_cpu; screen_device *m_screen; - address_space *m_data; + //address_space *m_data; int m_dispoff; // display off int m_mode8; // mode8 active