mirror of
https://github.com/libretro/mame.git
synced 2025-03-03 16:48:39 +00:00
(MESS) fixed clang 3.2 warnings about unused private fields (nw)
This commit is contained in:
parent
66b17ada93
commit
03379e4ab6
@ -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);
|
||||
|
@ -36,7 +36,7 @@ private:
|
||||
ParallelMove* m_parallelMove;
|
||||
|
||||
UINT16 m_word0;
|
||||
UINT16 m_word1;
|
||||
//UINT16 m_word1;
|
||||
|
||||
astring dcString() const;
|
||||
};
|
||||
|
@ -82,7 +82,7 @@ private:
|
||||
int deviceCount;
|
||||
|
||||
int m_outputdata;
|
||||
int m_inputdata;
|
||||
//int m_inputdata;
|
||||
};
|
||||
|
||||
class psxsio0_device : public psxsio_device
|
||||
|
@ -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)*/
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ private:
|
||||
path_iterator m_iterator;
|
||||
osd_directory * m_curdir;
|
||||
astring m_pathbuffer;
|
||||
int m_buflen;
|
||||
//int m_buflen;
|
||||
};
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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 */
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 */
|
||||
};
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
);
|
||||
|
||||
|
||||
|
@ -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];
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
@ -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];
|
||||
};
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -77,7 +77,7 @@ private:
|
||||
|
||||
UINT8 m_ram[0x800];
|
||||
|
||||
UINT8 m_hdc_addr;
|
||||
//UINT8 m_hdc_addr;
|
||||
};
|
||||
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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<midiout_device> m_midiout;
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
|
||||
private:
|
||||
running_machine& m_machine;
|
||||
UINT32 m_rom_size;
|
||||
//UINT32 m_rom_size;
|
||||
};
|
||||
|
||||
// ======================> sns_rom_spc7110_device
|
||||
|
@ -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();
|
||||
};
|
||||
|
@ -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<rpk_socket> m_sockets;
|
||||
|
||||
void add_socket(const char* id, rpk_socket *newsock);
|
||||
|
@ -61,7 +61,7 @@ private:
|
||||
required_device<via6522_device> m_via1;
|
||||
required_device<ieee488_device> m_bus;
|
||||
|
||||
UINT8 *m_rom;
|
||||
//UINT8 *m_rom;
|
||||
|
||||
int m_via0_irq;
|
||||
int m_via1_irq;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user