From faea1e2beb0ae3413cce52d8a96c77997d42651c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=CC=88=20Blade?= Date: Wed, 8 Apr 2015 14:26:47 +0100 Subject: [PATCH] Tidy more whitespace --- src/mame/drivers/alpha68k.c | 1 - src/mame/drivers/gambl186.c | 4 ++-- src/mame/drivers/m72.c | 4 ++-- src/mame/drivers/mirax.c | 4 ++-- src/mame/drivers/niyanpai.c | 2 +- src/mame/drivers/ppmast93.c | 8 ++++---- src/mame/drivers/seicross.c | 2 +- src/mame/drivers/seta.c | 4 ++-- src/mame/drivers/spool99.c | 8 ++++---- src/mame/drivers/stactics.c | 2 +- src/mame/drivers/thepit.c | 2 +- src/mame/drivers/unkhorse.c | 2 +- src/mame/drivers/warpsped.c | 2 +- 13 files changed, 22 insertions(+), 23 deletions(-) diff --git a/src/mame/drivers/alpha68k.c b/src/mame/drivers/alpha68k.c index 0ed2ca81ba8..d44c2239111 100644 --- a/src/mame/drivers/alpha68k.c +++ b/src/mame/drivers/alpha68k.c @@ -110,7 +110,6 @@ Stephh's additional notes (based on the games M68000 code and some tests) : - There is no Dip Switch to determine if you are allowed to continue a game or not, so you ALWAYS have the possibility to continue a game. - Stephh's log (2002.06.19) : - Create macros for players inputs and "Coinage" Dip Switch diff --git a/src/mame/drivers/gambl186.c b/src/mame/drivers/gambl186.c index 05a36e83ebf..573c87be3bc 100644 --- a/src/mame/drivers/gambl186.c +++ b/src/mame/drivers/gambl186.c @@ -41,7 +41,7 @@ public: m_maincpu(*this, "maincpu") { } required_device m_maincpu; - + DECLARE_READ16_MEMBER(unk_r); }; @@ -251,7 +251,7 @@ static INPUT_PORTS_START( gambl186 ) PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - + PORT_START("DSW1") PORT_DIPNAME( 0x01, 0x01, "1-1" ) PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) diff --git a/src/mame/drivers/m72.c b/src/mame/drivers/m72.c index 1705eeaf3e9..01ac188a542 100644 --- a/src/mame/drivers/m72.c +++ b/src/mame/drivers/m72.c @@ -337,7 +337,7 @@ DRIVER_INIT_MEMBER(m72_state,m72_8751) program.install_read_bank(0xb0000, 0xbffff, "bank1"); program.install_write_handler(0xb0000, 0xb0fff, write16_delegate(FUNC(m72_state::main_mcu_w),this)); membank("bank1")->configure_entry(0, m_protection_ram); - + save_pointer(NAME(m_protection_ram), 0x10000/2); save_item(NAME(m_mcu_sample_latch)); save_item(NAME(m_mcu_sample_addr)); @@ -685,7 +685,7 @@ void m72_state::install_protection_handler(const UINT8 *code,const UINT8 *crc) m_maincpu->space(AS_PROGRAM).install_read_handler(0xb0ffa, 0xb0ffb, read16_delegate(FUNC(m72_state::protection_r),this)); m_maincpu->space(AS_PROGRAM).install_write_handler(0xb0000, 0xb0fff, write16_delegate(FUNC(m72_state::protection_w),this)); membank("bank1")->configure_entry(0, m_protection_ram); - + save_pointer(NAME(m_protection_ram), 0x1000/2); } diff --git a/src/mame/drivers/mirax.c b/src/mame/drivers/mirax.c index 47c2ab5ad4d..e94eb5d40dd 100644 --- a/src/mame/drivers/mirax.c +++ b/src/mame/drivers/mirax.c @@ -148,7 +148,7 @@ public: UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_tilemap(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 draw_flag); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); - + INTERRUPT_GEN_MEMBER(vblank_irq); }; @@ -247,7 +247,7 @@ UINT32 mirax_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, c void mirax_state::machine_start() { m_nAyCtrl = 0x00; - + save_item(NAME(m_nAyCtrl)); save_item(NAME(m_nmi_mask)); save_item(NAME(m_flipscreen_x)); diff --git a/src/mame/drivers/niyanpai.c b/src/mame/drivers/niyanpai.c index 735a7b3be11..d65063a1623 100644 --- a/src/mame/drivers/niyanpai.c +++ b/src/mame/drivers/niyanpai.c @@ -779,7 +779,7 @@ static MACHINE_CONFIG_DERIVED( musobana, niyanpai ) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") MCFG_CPU_PROGRAM_MAP(musobana_map) - + MCFG_MACHINE_START_OVERRIDE(niyanpai_state, musobana) MACHINE_CONFIG_END diff --git a/src/mame/drivers/ppmast93.c b/src/mame/drivers/ppmast93.c index 537c5517a33..4e133ce2079 100644 --- a/src/mame/drivers/ppmast93.c +++ b/src/mame/drivers/ppmast93.c @@ -157,18 +157,18 @@ public: tilemap_t *m_fg_tilemap; tilemap_t *m_bg_tilemap; - + DECLARE_WRITE8_MEMBER(fgram_w); DECLARE_WRITE8_MEMBER(bgram_w); DECLARE_WRITE8_MEMBER(port4_w); DECLARE_WRITE8_MEMBER(sound_w); - + TILE_GET_INFO_MEMBER(get_bg_tile_info); TILE_GET_INFO_MEMBER(get_fg_tile_info); - + virtual void machine_start(); virtual void video_start(); - + UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); }; diff --git a/src/mame/drivers/seicross.c b/src/mame/drivers/seicross.c index 437fbf152bd..d6e5ac58e21 100644 --- a/src/mame/drivers/seicross.c +++ b/src/mame/drivers/seicross.c @@ -86,7 +86,7 @@ WRITE8_MEMBER(seicross_state::portB_w) m_irq_mask = data & 1; /* bit 1 flips screen */ - + /* bit 2 resets the microcontroller */ if (((m_portb & 4) == 0) && (data & 4)) { diff --git a/src/mame/drivers/seta.c b/src/mame/drivers/seta.c index 6f15171f214..ea9a9540297 100644 --- a/src/mame/drivers/seta.c +++ b/src/mame/drivers/seta.c @@ -10481,13 +10481,13 @@ ROM_START( daiohc ) /* Found on a 93111A PCB - same PCB as War of Areo & J. J. S ROM_LOAD( "6.u6", 0x080000, 0x080000, CRC(9ad8b4b4) SHA1(b6e4cff160ae0efe6f3fd0df9a8a618957c3ce61) ) ROM_LOAD( "7.u7", 0x100000, 0x080000, CRC(babf194a) SHA1(ef838aab2d651c10553fb87552c67f289a8ac83d) ) ROM_LOAD( "8.u8", 0x180000, 0x080000, CRC(2db65290) SHA1(4f4d65e984fad7bb1d886de67bc50645798282bb) ) - + ROM_REGION( 0x200000, "gfx3", 0 ) /* Layer 2 */ ROM_LOAD( "1.u1", 0x000000, 0x080000, CRC(30f81f99) SHA1(9c164c798c7e869e92505d9d85f06f4a1c9a9528) ) /* connects to U68 through a riser card */ ROM_LOAD( "2.u2", 0x080000, 0x080000, CRC(3b3e0f4e) SHA1(740afe4eefea480f941dd80a03392592d8d4b084) ) ROM_LOAD( "3.u3", 0x100000, 0x080000, CRC(c5eef1c1) SHA1(d4b3188b39bad5c7a2c7b7dbc91a79c7ee80a3a1) ) ROM_LOAD( "4.u4", 0x180000, 0x080000, CRC(851115b6) SHA1(b8e1e22231d131085c90afcf30ff35a2866edff5) ) - + ROM_REGION( 0x100000, "x1snd", 0 ) /* Samples */ ROM_LOAD( "data.u69", 0x000000, 0x080000, CRC(21e4f093) SHA1(f0420d158dc5d182e41b6fb2ea3af6baf88bacb8) ) ROM_LOAD( "data.u70", 0x080000, 0x080000, CRC(593c3c58) SHA1(475fb530a6d23269cb0aea6e294291c7463b57a2) ) diff --git a/src/mame/drivers/spool99.c b/src/mame/drivers/spool99.c index 028cc836540..524a72b6e54 100644 --- a/src/mame/drivers/spool99.c +++ b/src/mame/drivers/spool99.c @@ -117,9 +117,9 @@ public: required_shared_ptr m_main; required_shared_ptr m_vram; required_shared_ptr m_cram; - + tilemap_t *m_sc0_tilemap; - + DECLARE_WRITE8_MEMBER(vram_w); DECLARE_WRITE8_MEMBER(cram_w); DECLARE_READ8_MEMBER(spool99_io_r); @@ -127,10 +127,10 @@ public: DECLARE_WRITE8_MEMBER(eeprom_resetline_w); DECLARE_WRITE8_MEMBER(eeprom_clockline_w); DECLARE_WRITE8_MEMBER(eeprom_dataline_w); - + DECLARE_DRIVER_INIT(spool99); virtual void video_start(); - + UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); TILE_GET_INFO_MEMBER(get_tile_info); }; diff --git a/src/mame/drivers/stactics.c b/src/mame/drivers/stactics.c index d0c2eecb918..77df4bb0999 100644 --- a/src/mame/drivers/stactics.c +++ b/src/mame/drivers/stactics.c @@ -282,7 +282,7 @@ void stactics_state::machine_start() m_vert_pos = 0; m_horiz_pos = 0; *m_motor_on = 0; - + save_item(NAME(m_vert_pos)); save_item(NAME(m_horiz_pos)); } diff --git a/src/mame/drivers/thepit.c b/src/mame/drivers/thepit.c index e121e3a881f..84db65527ea 100644 --- a/src/mame/drivers/thepit.c +++ b/src/mame/drivers/thepit.c @@ -1250,7 +1250,7 @@ DRIVER_INIT_MEMBER(thepit_state,rtriv) { // Set-up the weirdest questions read ever done m_maincpu->space(AS_PROGRAM).install_read_handler(0x4000, 0x4fff, read8_delegate(FUNC(thepit_state::rtriv_question_r),this)); - + save_item(NAME(m_question_address)); save_item(NAME(m_question_rom)); save_item(NAME(m_remap_address)); diff --git a/src/mame/drivers/unkhorse.c b/src/mame/drivers/unkhorse.c index d7e8679fb09..21584b91f23 100644 --- a/src/mame/drivers/unkhorse.c +++ b/src/mame/drivers/unkhorse.c @@ -46,7 +46,7 @@ public: DECLARE_READ8_MEMBER(input_r); DECLARE_WRITE8_MEMBER(output_w); DECLARE_WRITE_LINE_MEMBER(timer_out); - + virtual void machine_start(); DECLARE_PALETTE_INIT(horse); diff --git a/src/mame/drivers/warpsped.c b/src/mame/drivers/warpsped.c index 1d70b753d23..c4760b0c10e 100644 --- a/src/mame/drivers/warpsped.c +++ b/src/mame/drivers/warpsped.c @@ -152,7 +152,7 @@ void warpspeed_state::video_start() m_text_tilemap->set_transparent_pen(0); m_starfield_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(warpspeed_state::get_starfield_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); m_starfield_tilemap->mark_all_dirty(); - + save_item(NAME(m_regs)); }