diff --git a/src/emu/machine/vrc4373.h b/src/emu/machine/vrc4373.h index c34170d02d6..c7de794865f 100644 --- a/src/emu/machine/vrc4373.h +++ b/src/emu/machine/vrc4373.h @@ -115,12 +115,10 @@ private: UINT32 m_simm_base; dynamic_array m_simm; - UINT32 m_cpu_regs[0x7c]; UINT32 m_pci1_laddr, m_pci2_laddr, m_pci_io_laddr; UINT32 m_target1_laddr, m_target2_laddr; - }; diff --git a/src/emu/sound/es1373.h b/src/emu/sound/es1373.h index 7b909530f40..31f8152302b 100644 --- a/src/emu/sound/es1373.h +++ b/src/emu/sound/es1373.h @@ -114,7 +114,6 @@ private: chan_info m_dac2; chan_info m_adc; void transfer_pci_audio(chan_info& chan, int type); - }; extern const device_type ES1373; diff --git a/src/mame/includes/bigstrkb.h b/src/mame/includes/bigstrkb.h index 5b319a8a507..e0cc4f47465 100644 --- a/src/mame/includes/bigstrkb.h +++ b/src/mame/includes/bigstrkb.h @@ -31,14 +31,14 @@ public: DECLARE_WRITE16_MEMBER(videoram_w); DECLARE_WRITE16_MEMBER(videoram2_w); DECLARE_WRITE16_MEMBER(videoram3_w); - + TILEMAP_MAPPER_MEMBER(bg_scan); TILE_GET_INFO_MEMBER(get_tile_info); TILE_GET_INFO_MEMBER(get_tile2_info); TILE_GET_INFO_MEMBER(get_tile3_info); - + virtual void video_start(); - + UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect ); }; diff --git a/src/mame/includes/m107.h b/src/mame/includes/m107.h index d7262b13b03..d2016165432 100644 --- a/src/mame/includes/m107.h +++ b/src/mame/includes/m107.h @@ -58,7 +58,7 @@ public: DECLARE_WRITE16_MEMBER(spritebuffer_w); TILE_GET_INFO_MEMBER(get_pf_tile_info); - + TIMER_DEVICE_CALLBACK_MEMBER(scanline_interrupt); DECLARE_DRIVER_INIT(firebarr); diff --git a/src/mame/includes/m72.h b/src/mame/includes/m72.h index fc6c6cfdfc3..9b6aac4a5a8 100644 --- a/src/mame/includes/m72.h +++ b/src/mame/includes/m72.h @@ -67,12 +67,12 @@ public: // majtitle specific int m_majtitle_rowscroll; - + // m72_i8751 specific UINT8 m_mcu_snd_cmd_latch; UINT8 m_mcu_sample_latch; UINT32 m_mcu_sample_addr; - + // common DECLARE_READ16_MEMBER(palette1_r); DECLARE_READ16_MEMBER(palette2_r); @@ -82,7 +82,7 @@ public: DECLARE_WRITE16_MEMBER(videoram2_w); DECLARE_READ16_MEMBER(soundram_r); DECLARE_WRITE16_MEMBER(soundram_w); - + // m72_i8751 specific DECLARE_WRITE16_MEMBER(main_mcu_sound_w); DECLARE_WRITE16_MEMBER(main_mcu_w); @@ -118,14 +118,14 @@ public: DECLARE_READ16_MEMBER(poundfor_trackball_r); DECLARE_WRITE16_MEMBER(rtype2_port02_w); DECLARE_WRITE16_MEMBER(majtitle_gfx_ctrl_w); - + TILE_GET_INFO_MEMBER(get_bg_tile_info); TILE_GET_INFO_MEMBER(get_fg_tile_info); TILE_GET_INFO_MEMBER(hharry_get_bg_tile_info); TILE_GET_INFO_MEMBER(rtype2_get_bg_tile_info); TILE_GET_INFO_MEMBER(rtype2_get_fg_tile_info); TILEMAP_MAPPER_MEMBER(majtitle_scan_rows); - + void machine_start(); void machine_reset(); DECLARE_VIDEO_START(m72); @@ -147,15 +147,15 @@ public: DECLARE_DRIVER_INIT(nspirit); DECLARE_DRIVER_INIT(loht); DECLARE_DRIVER_INIT(imgfight); - + INTERRUPT_GEN_MEMBER(mcu_int); INTERRUPT_GEN_MEMBER(fake_nmi); TIMER_CALLBACK_MEMBER(synch_callback); TIMER_CALLBACK_MEMBER(scanline_interrupt); TIMER_CALLBACK_MEMBER(kengo_scanline_interrupt); TIMER_CALLBACK_MEMBER(delayed_ram16_w); - - + + UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); UINT32 screen_update_majtitle(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); inline void get_tile_info(tile_data &tileinfo,int tile_index,const UINT16 *vram,int gfxnum); diff --git a/src/mame/includes/mainsnk.h b/src/mame/includes/mainsnk.h index 18628239539..032a2280be1 100644 --- a/src/mame/includes/mainsnk.h +++ b/src/mame/includes/mainsnk.h @@ -24,23 +24,23 @@ public: tilemap_t *m_bg_tilemap; int m_sound_cpu_busy; UINT32 m_bg_tile_offset; - + DECLARE_WRITE8_MEMBER(sound_command_w); DECLARE_READ8_MEMBER(sound_ack_r); DECLARE_WRITE8_MEMBER(c600_w); DECLARE_WRITE8_MEMBER(fgram_w); DECLARE_WRITE8_MEMBER(bgram_w); - + DECLARE_CUSTOM_INPUT_MEMBER(sound_r); - + TILEMAP_MAPPER_MEMBER(marvins_tx_scan_cols); TILE_GET_INFO_MEMBER(get_tx_tile_info); TILE_GET_INFO_MEMBER(get_bg_tile_info); - + virtual void machine_start(); virtual void video_start(); DECLARE_PALETTE_INIT(mainsnk); - + UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int scrollx, int scrolly ); }; diff --git a/src/mame/includes/n64.h b/src/mame/includes/n64.h index fed6fe4fef9..ffad8cca5bf 100644 --- a/src/mame/includes/n64.h +++ b/src/mame/includes/n64.h @@ -346,7 +346,7 @@ const unsigned int ddZoneSecSize[16] = {232,216,208,192,176,160,144,128, 216,208,192,176,160,144,128,112}; const unsigned int ddZoneTrackSize[16] = {158,158,149,149,149,149,149,114, 158,158,149,149,149,149,149,114}; -const unsigned int ddStartOffset[16] = +const unsigned int ddStartOffset[16] = {0x0,0x5F15E0,0xB79D00,0x10801A0,0x1523720,0x1963D80,0x1D414C0,0x20BBCE0, 0x23196E0,0x28A1E00,0x2DF5DC0,0x3299340,0x36D99A0,0x3AB70E0,0x3E31900,0x4149200}; diff --git a/src/mame/includes/niyanpai.h b/src/mame/includes/niyanpai.h index 467f269dd8d..27aedf6b8e0 100644 --- a/src/mame/includes/niyanpai.h +++ b/src/mame/includes/niyanpai.h @@ -51,12 +51,12 @@ public: UINT8 *m_clut[VRAM_MAX]; int m_flipscreen_old[VRAM_MAX]; emu_timer *m_blitter_timer; - + // musobana and derived machine configs int m_musobana_inputport; int m_musobana_outcoin_flag; UINT8 m_motor_on; - + // common DECLARE_WRITE8_MEMBER(soundbank_w); DECLARE_WRITE8_MEMBER(soundlatch_clear_w); @@ -76,7 +76,7 @@ public: DECLARE_WRITE8_MEMBER(clutsel_1_w); DECLARE_WRITE8_MEMBER(clutsel_2_w); DECLARE_WRITE16_MEMBER(tmp68301_parallel_port_w); - + // musobana and derived machine configs DECLARE_READ16_MEMBER(musobana_inputport_0_r); DECLARE_WRITE16_MEMBER(musobana_inputport_w); diff --git a/src/mame/includes/powerins.h b/src/mame/includes/powerins.h index e2b31c917a0..7332262c572 100644 --- a/src/mame/includes/powerins.h +++ b/src/mame/includes/powerins.h @@ -41,9 +41,9 @@ public: TILE_GET_INFO_MEMBER(get_tile_info_0); TILE_GET_INFO_MEMBER(get_tile_info_1); TILEMAP_MAPPER_MEMBER(get_memory_offset_0); - + virtual void video_start(); - + UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect); }; diff --git a/src/mame/includes/stactics.h b/src/mame/includes/stactics.h index ac9934f7aba..8889c8664c3 100644 --- a/src/mame/includes/stactics.h +++ b/src/mame/includes/stactics.h @@ -32,11 +32,11 @@ public: required_shared_ptr m_videoram_d; required_shared_ptr m_videoram_e; required_shared_ptr m_videoram_f; - + /* machine state */ int m_vert_pos; int m_horiz_pos; - + /* video state */ UINT8 m_y_scroll_d; UINT8 m_y_scroll_e; diff --git a/src/mame/includes/thepit.h b/src/mame/includes/thepit.h index c3617dc53ca..710230f6e63 100644 --- a/src/mame/includes/thepit.h +++ b/src/mame/includes/thepit.h @@ -39,10 +39,10 @@ public: DECLARE_WRITE8_MEMBER(flip_screen_x_w); DECLARE_WRITE8_MEMBER(flip_screen_y_w); DECLARE_READ8_MEMBER(input_port_0_r); - + DECLARE_READ8_MEMBER(intrepid_colorram_mirror_r); DECLARE_WRITE8_MEMBER(intrepid_graphics_bank_w); - + DECLARE_READ8_MEMBER(rtriv_question_r); TILE_GET_INFO_MEMBER(solid_get_tile_info); @@ -57,6 +57,6 @@ public: UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); UINT32 screen_update_desertdan(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int priority_to_draw); - + INTERRUPT_GEN_MEMBER(vblank_irq); }; diff --git a/src/mame/includes/tunhunt.h b/src/mame/includes/tunhunt.h index 29e89a65e95..25cb3f18be0 100644 --- a/src/mame/includes/tunhunt.h +++ b/src/mame/includes/tunhunt.h @@ -25,7 +25,7 @@ public: UINT8 m_control; tilemap_t *m_fg_tilemap; bitmap_ind16 m_tmpbitmap; - + DECLARE_WRITE8_MEMBER(control_w); DECLARE_READ8_MEMBER(button_r); DECLARE_WRITE8_MEMBER(videoram_w); @@ -34,7 +34,7 @@ public: DECLARE_READ8_MEMBER(dsw2_2r); DECLARE_READ8_MEMBER(dsw2_3r); DECLARE_READ8_MEMBER(dsw2_4r); - + TILE_GET_INFO_MEMBER(get_fg_tile_info); virtual void video_start();