mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
Tidy more whitespace
This commit is contained in:
parent
354a0f2707
commit
faea1e2beb
@ -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
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
|
||||
required_device<cpu_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 ) )
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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));
|
||||
|
@ -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
|
||||
|
||||
|
@ -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);
|
||||
};
|
||||
|
||||
|
@ -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))
|
||||
{
|
||||
|
@ -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) )
|
||||
|
@ -117,9 +117,9 @@ public:
|
||||
required_shared_ptr<UINT8> m_main;
|
||||
required_shared_ptr<UINT8> m_vram;
|
||||
required_shared_ptr<UINT8> 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);
|
||||
};
|
||||
|
@ -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));
|
||||
}
|
||||
|
@ -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));
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user