Previous 199869 Revisions Next

r21972 Wednesday 20th March, 2013 at 00:31:11 UTC by Oliver Stöneberg
(MESS) fixed clang 3.2 warnings about unused private fields (nw)
[src/emu]fileio.c fileio.h uiimage.h
[src/emu/cpu/dsp56k]opcode.c opcode.h
[src/emu/cpu/psx]sio.h
[src/emu/machine]53c7xx.h at29040a.h mc68901.h ncr539x.h upd7201.h
[src/emu/sound]2151intf.h cdp1869.h disc_cls.h disc_dev.h disc_flt.h disc_wav.h
[src/emu/video]crt9007.h hd61830.h pc_vga.h sed1330.h
[src/mess/drivers]geneve.c ti99_8.c
[src/mess/machine]apollo_kbd.h c64_warp_speed.h cpc_rom.h cs8221.h fm_scsi.h isa_gus.h isa_wdxt_gen.h kc_d004.h midioutport.h ncr5380n.h psxcd.h psxcddrv.c sns_spc7110.h vic1112.h x68k_hdc.h
[src/mess/machine/ti99]gromport.c gromport.h
[src/mess/video]nubus_spec8.h zx8301.h

trunk/src/emu/machine/at29040a.h
r21971r21972
7575   s_pgm_t     m_pgm;              /* programming state */
7676   bool        m_enabling_sdb;     /* set when a sdp enable command is in progress */
7777   bool        m_disabling_sdb;    /* set when a sdp disable command is in progress */
78   bool        m_dirty;            /* set when the memory contents should be set */
78   //bool        m_dirty;            /* set when the memory contents should be set */
7979   bool        m_toggle_bit;       // indicates flashing in progress (toggles for each query)
8080   UINT8*      m_programming_buffer;
8181   int         m_programming_last_offset;
trunk/src/emu/machine/53c7xx.h
r21971r21972
211211   emu_timer *m_tm;
212212
213213   int     m_scripts_state;
214   int     m_scripts_substate;
214   //int     m_scripts_substate;
215215   void    (ncr53c7xx_device::*m_scripts_op)();
216216
217217   // callbacks
trunk/src/emu/machine/upd7201.h
r21971r21972
136136   devcb_resolved_write_line       m_out_int_func;
137137
138138   // timers
139   emu_timer *m_rx_a_timer;
140   emu_timer *m_tx_a_timer;
141   emu_timer *m_rx_b_timer;
142   emu_timer *m_tx_b_timer;
139   //emu_timer *m_rx_a_timer;
140   //emu_timer *m_tx_a_timer;
141   //emu_timer *m_rx_b_timer;
142   //emu_timer *m_tx_b_timer;
143143};
144144
145145
trunk/src/emu/machine/mc68901.h
r21971r21972
165165   devcb_resolved_write_line   m_out_tdo_func;
166166   devcb_resolved_write_line   m_out_irq_func;
167167
168   int m_device_type;                      /* device type */
168   //int m_device_type;                      /* device type */
169169
170170   /* registers */
171171   UINT8 m_gpip;                           /* general purpose I/O register */
r21971r21972
195195   int m_to[4];            /* timer out latch */
196196
197197   /* interrupt state */
198   int m_irqlevel;                         /* interrupt level latch */
198   //int m_irqlevel;                         /* interrupt level latch */
199199
200200   /* serial state */
201201   UINT8 m_next_rsr;                       /* receiver status register latch */
trunk/src/emu/machine/ncr539x.h
r21971r21972
7171   static const int m_fifo_size = 16;
7272   UINT8 m_fifo_ptr, m_fifo[m_fifo_size];
7373
74   int m_xfer_remaining;   // amount in the FIFO when we're in data in phase
74   //int m_xfer_remaining;   // amount in the FIFO when we're in data in phase
7575
7676   // read-only registers
7777   UINT8 m_status, m_irq_status, m_internal_state, m_fifo_internal_state;
trunk/src/emu/fileio.c
r21971r21972
110110
111111file_enumerator::file_enumerator(const char *searchpath)
112112   : m_iterator(searchpath),
113      m_curdir(NULL),
114      m_buflen(0)
113      m_curdir(NULL)/*,
114      m_buflen(0)*/
115115{
116116}
117117
trunk/src/emu/fileio.h
r21971r21972
103103   path_iterator   m_iterator;
104104   osd_directory * m_curdir;
105105   astring         m_pathbuffer;
106   int             m_buflen;
106   //int             m_buflen;
107107};
108108
109109
trunk/src/emu/cpu/psx/sio.h
r21971r21972
8282   int deviceCount;
8383
8484   int m_outputdata;
85   int m_inputdata;
85   //int m_inputdata;
8686};
8787
8888class psxsio0_device : public psxsio_device
trunk/src/emu/cpu/dsp56k/opcode.c
r21971r21972
44
55namespace DSP56K
66{
7Opcode::Opcode(UINT16 w0, UINT16 w1) : m_word0(w0), m_word1(w1)
7Opcode::Opcode(UINT16 w0, UINT16 w1) : m_word0(w0)/*, m_word1(w1)*/
88{
99   m_instruction  = Instruction::decodeInstruction(this, w0, w1);
1010   m_parallelMove = ParallelMove::decodeParallelMove(this, w0, w1);
trunk/src/emu/cpu/dsp56k/opcode.h
r21971r21972
3636   ParallelMove* m_parallelMove;
3737
3838   UINT16 m_word0;
39   UINT16 m_word1;
39   //UINT16 m_word1;
4040
4141   astring dcString() const;
4242};
trunk/src/emu/video/pc_vga.h
r21971r21972
341341
342342   vga_device* m_vga;  // for pass-through
343343   astring m_vga_tag;  // pass-through device tag
344   UINT8* m_vram;  // the original 8514/A has it's own VRAM, but most VGA+8514 combination cards will have
344   //UINT8* m_vram;  // the original 8514/A has it's own VRAM, but most VGA+8514 combination cards will have
345345               // only one set of VRAM, so this will only be needed in standalone 8514/A cards
346   UINT32 m_vramsize;
346   //UINT32 m_vramsize;
347347};
348348
349349// device type definition
trunk/src/emu/video/hd61830.h
r21971r21972
9696
9797   screen_device *m_screen;
9898   emu_timer *m_busy_timer;
99   address_space *m_data;
99   //address_space *m_data;
100100
101101   bool m_bf;                      // busy flag
102102
trunk/src/emu/video/sed1330.h
r21971r21972
118118   int m_ov;                   // graphics mode layer composition
119119
120120   // devices
121   screen_device *m_screen;
121   //screen_device *m_screen;
122122
123123   // address space configurations
124124   const address_space_config      m_space_config;
trunk/src/emu/video/crt9007.h
r21971r21972
176176   int m_vlt;
177177   int m_drb;
178178   int m_wben;
179   int m_slg;
180   int m_sld;
179   //int m_slg;
180   //int m_sld;
181181   int m_lpstb;
182182
183183   // DMA
trunk/src/emu/sound/disc_cls.h
r21971r21972
207207   void reset(void);
208208   void input_write(int sub_node, UINT8 data );
209209private:
210   double      m_gain;             /* node gain */
211   double      m_offset;           /* node offset */
210   //double      m_gain;             /* node gain */
211   //double      m_offset;           /* node offset */
212212   UINT8       m_data;             /* data written */
213213};
214214
trunk/src/emu/sound/cdp1869.h
r21971r21972
269269   cdp1869_char_ram_write_func     m_out_char_ram_func;
270270
271271   screen_device *m_screen;
272   address_space *m_page_ram;
272   //address_space *m_page_ram;
273273   emu_timer *m_prd_timer;
274274   sound_stream *m_stream;
275275
trunk/src/emu/sound/disc_dev.h
r21971r21972
9898);
9999
100100DISCRETE_CLASS_STEP_RESET(dsd_566, 1,
101   unsigned int    m_state[2];                 /* keeps track of excess flip_flop changes during the current step */
101   //unsigned int    m_state[2];                 /* keeps track of excess flip_flop changes during the current step */
102102   int             m_flip_flop;                /* 566 flip/flop output state */
103103   double          m_cap_voltage;              /* voltage on cap */
104104   double          m_v_sqr_low;                /* voltage for a squarewave at low */
trunk/src/emu/sound/disc_wav.h
r21971r21972
2727   int             m_is_7492;
2828   int             m_last_clock;
2929   UINT32          m_last_count;
30   UINT32          m_last;                 /* Last clock state */
30   //UINT32          m_last;                 /* Last clock state */
3131   UINT32          m_min;
3232   UINT32          m_max;
3333   UINT32          m_diff;
r21971r21972
3939   int             m_last;                 /* Last clock state */
4040   double          m_t_clock;              /* fixed counter clock in seconds */
4141   double          m_t_left;               /* time unused during last sample in seconds */
42   double          m_sample_step;
43   double          m_t;
42   //double          m_sample_step;
43   //double          m_t;
4444   UINT8           m_reset_on_high;
4545   UINT8           m_invert_output;
4646   UINT8           m_out_is_f0;
r21971r21972
184184
185185/* Not yet implemented */
186186DISCRETE_CLASS_STEP_RESET(dss_adsrenv,  1,
187   double          m_phase;
187   //double          m_phase;
188188);
189189
190190
trunk/src/emu/sound/2151intf.h
r21971r21972
6767
6868   // internal state
6969   sound_stream *          m_stream;
70   emu_timer *             m_timer[2];
70   //emu_timer *             m_timer[2];
7171   void *                  m_chip;
7272   UINT8                   m_lastreg;
7373   devcb2_write_line       m_irqhandler;
trunk/src/emu/sound/disc_flt.h
r21971r21972
4848   double          m_rc;
4949   double          m_exponent;
5050   UINT8           m_has_rc_nodes;
51   UINT8           m_is_fast;
51   //UINT8           m_is_fast;
5252);
5353
5454DISCRETE_CLASS_STEP_RESET(dst_op_amp_filt, 1,
r21971r21972
164164   double          m_x1;                   /* x[k-1], previous input value */
165165   double          m_y1;                   /* y[k-1], previous output value */
166166   double          m_a1;                   /* digital filter coefficients, denominator */
167   double          m_b[2];                 /* digital filter coefficients, numerator */
167   //double          m_b[2];                 /* digital filter coefficients, numerator */
168168);
169169
170170DISCRETE_CLASS_STEP_RESET(dst_rcdisc2N, 1,
trunk/src/emu/uiimage.h
r21971r21972
8484   device_image_interface *image;
8585   astring &current_directory, &current_file;
8686   const image_device_format *current_format;
87   int confirm_save_as_yes;
87   //int confirm_save_as_yes;
8888   char filename_buffer[1024];
8989};
9090
trunk/src/mess/drivers/geneve.c
r21971r21972
273273   int m_ready_line, m_ready_line1;
274274
275275private:
276   int     m_joystick_select;
276   //int     m_joystick_select;
277277   // Some values to keep. Rest is on the geneve_mapper.
278278};
279279
trunk/src/mess/drivers/ti99_8.c
r21971r21972
272272   /* Keyboard support */
273273   void    set_keyboard_column(int number, int data);
274274   int     m_keyboard_column;
275   int     m_alphalock_line;
275   //int     m_alphalock_line;
276276};
277277
278278/*
trunk/src/mess/machine/isa_wdxt_gen.h
r21971r21972
7777
7878   UINT8 m_ram[0x800];
7979
80   UINT8 m_hdc_addr;
80   //UINT8 m_hdc_addr;
8181};
8282
8383
trunk/src/mess/machine/cpc_rom.h
r21971r21972
7777   virtual void device_config_complete() { m_shortname = "cpc_rom"; }
7878
7979private:
80   cpc_expansion_slot_device *m_slot;
80   //cpc_expansion_slot_device *m_slot;
8181
8282   rom_image_device* m_rom[6];
8383};
trunk/src/mess/machine/ti99/gromport.c
r21971r21972
19941994    Constructor.
19951995*/
19961996rpk::rpk(emu_options& options, const char* sysname)
1997   :m_options(options),
1998   m_system_name(sysname)
1997   :m_options(options)
1998   //,m_system_name(sysname)
19991999{
20002000   m_sockets.reset();
20012001};
trunk/src/mess/machine/ti99/gromport.h
r21971r21972
437437private:
438438   emu_options&            m_options;      // need this to find the path to the nvram files
439439   int                     m_type;
440   const char*             m_system_name;  // need this to find the path to the nvram files
440   //const char*             m_system_name;  // need this to find the path to the nvram files
441441   tagged_list<rpk_socket> m_sockets;
442442
443443   void add_socket(const char* id, rpk_socket *newsock);
trunk/src/mess/machine/sns_spc7110.h
r21971r21972
6363
6464private:
6565   running_machine& m_machine;
66   UINT32 m_rom_size;
66   //UINT32 m_rom_size;
6767};
6868
6969// ======================> sns_rom_spc7110_device
trunk/src/mess/machine/psxcddrv.c
r21971r21972
317317   int num_sectors, num_tracks;
318318   toc_entry toc[100];
319319   int bin_sector_size;
320   const char *err;
320   //const char *err;
321321
322322   io_status *read_sectors(const unsigned int startsec, const unsigned int numsec, unsigned char *buf);
323323
r21971r21972
340340};
341341
342342mess_cdrom_driver::mess_cdrom_driver()
343   : err(NULL)
343   //: err(NULL)
344344{
345345   for (int i=0; i<100; i++)
346346      toc[i].type=track_illegal;
trunk/src/mess/machine/vic1112.h
r21971r21972
6161   required_device<via6522_device> m_via1;
6262   required_device<ieee488_device> m_bus;
6363
64   UINT8 *m_rom;
64   //UINT8 *m_rom;
6565
6666   int m_via0_irq;
6767   int m_via1_irq;
trunk/src/mess/machine/apollo_kbd.h
r21971r21972
167167      void putchar(UINT8 data);
168168   private:
169169      apollo_kbd_device *m_device; // pointer back to our device
170#if defined(KBD_TTY_NAME)
170171      const char *m_tty_name;
171172      int m_tty_fd; /* File descriptor of keyboard tty */
173#endif
172174      int m_connected;
173175   };
174176
trunk/src/mess/machine/kc_d004.h
r21971r21972
7373   UINT16              m_rom_base;
7474   UINT8               m_enabled;
7575   UINT8               m_connected;
76   UINT8               m_active_fdd;
76   //UINT8               m_active_fdd;
7777
7878   floppy_image_device *m_floppy;
7979};
trunk/src/mess/machine/isa_gus.h
r21971r21972
190190
191191      UINT8 m_current_voice;
192192      UINT8 m_current_reg;
193      UINT8 m_port;
194      UINT8 m_irq;
195      UINT8 m_dma;
193      //UINT8 m_port;
194      //UINT8 m_irq;
195      //UINT8 m_dma;
196196
197197      UINT8 m_adlib_cmd;
198198      UINT8 m_mix_ctrl;
trunk/src/mess/machine/c64_warp_speed.h
r21971r21972
4545   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);
4646
4747private:
48   UINT8 m_bank;
48   //UINT8 m_bank;
4949};
5050
5151
trunk/src/mess/machine/ncr5380n.h
r21971r21972
190190   UINT8 clock_conv, sync_offset, sync_period, bus_id, select_timeout, seq;
191191   UINT16 tcount;
192192   int mode;
193   int state, xfr_phase;
193   int state/*, xfr_phase*/;
194194
195195   bool irq, drq;
196196
trunk/src/mess/machine/psxcd.h
r21971r21972
158158   DECLARE_READ8_MEMBER( read );
159159
160160private:
161   emu_timer *m_timer;
161   //emu_timer *m_timer;
162162   UINT32 m_sysclock;
163163   const char *m_devname;
164164   cdrom_image_device *m_cddevice;
trunk/src/mess/machine/x68k_hdc.h
r21971r21972
106106   int m_phase;
107107   unsigned char m_status_port;  // read at 0xe96003
108108   unsigned char m_status;       // status phase output
109   unsigned char m_message;
109   //unsigned char m_message;
110110   unsigned char m_command[10];
111111   unsigned char m_sense[4];
112112   int m_command_byte_count;
trunk/src/mess/machine/cs8221.h
r21971r21972
6161private:
6262
6363   // internal state
64   address_space *m_space;
65   UINT8 *m_isa;
66   UINT8 *m_bios;
67   UINT8 *m_ram;
64   //address_space *m_space;
65   //UINT8 *m_isa;
66   //UINT8 *m_bios;
67   //UINT8 *m_ram;
6868
6969   // address selection
7070   UINT8 m_address;
trunk/src/mess/machine/fm_scsi.h
r21971r21972
8080
8181   scsihle_device* m_SCSIdevices[8];
8282   UINT8 m_command[32];
83   UINT8 m_result[32];
83   //UINT8 m_result[32];
8484   UINT8 m_command_index;
8585   int m_result_length;
8686   UINT32 m_result_index;
trunk/src/mess/machine/midioutport.h
r21971r21972
2727   virtual void device_reset() { }
2828   virtual void device_config_complete() { m_shortname = "midiout_port"; }
2929private:
30   serial_port_device *m_owner;
30   //serial_port_device *m_owner;
3131   required_device<midiout_device> m_midiout;
3232};
3333
trunk/src/mess/video/nubus_spec8.h
r21971r21972
4646      emu_timer *m_timer;
4747
4848private:
49      UINT32 m_7xxxxx_regs[0x100000/4];
50      int m_width, m_height, m_patofsx, m_patofsy;
51      UINT32 m_vram_addr, m_vram_src;
52      UINT8 m_fillbytes[256];
49      //UINT32 m_7xxxxx_regs[0x100000/4];
50      //int m_width, m_height, m_patofsx, m_patofsy;
51      //UINT32 m_vram_addr, m_vram_src;
52      //UINT8 m_fillbytes[256];
5353      bool m_vbl_pending;
5454      int m_parameter;
5555};
trunk/src/mess/video/zx8301.h
r21971r21972
116116
117117   cpu_device *m_cpu;
118118   screen_device *m_screen;
119   address_space *m_data;
119   //address_space *m_data;
120120
121121   int m_dispoff;                  // display off
122122   int m_mode8;                    // mode8 active

Previous 199869 Revisions Next


© 1997-2024 The MAME Team