diff options
author | Vas Crabb <vas@vastheman.com> | 2018-07-22 20:41:57 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-07-22 20:41:57 +1000 |
commit | c0ab1c5aa4c172aa9e3e0deec5c2cc19d4f278d1 (patch) | |
tree | 359e7b0d6560d05a1872c2e18773a6e2e5038b7f /src/mame/drivers/tetrisp2.cpp | |
parent | 6d39a913e54c73640e4b5e7493b223c87a14c64a (diff) |
(nw) srcclean and some cleanup:
* Make more #include guards follow standard format - using MAME_ as the prefix makes it easy to see which ones come from our code in a preprocessor dump, and having both src/devices/machine/foo.h and src/mame/machine/foo.h causes issues anyway
* Get #include "emu.h" out of headers - it should only be the first thing in a complilation unit or we get differences in behaviour with PCH on/off
* Add out-of-line destructors to some devices - it forces the compiler to instantiate the vtable in a certain location and avoids some non-deterministic compiler behaviours
Diffstat (limited to 'src/mame/drivers/tetrisp2.cpp')
-rw-r--r-- | src/mame/drivers/tetrisp2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/tetrisp2.cpp b/src/mame/drivers/tetrisp2.cpp index d14aaccbdf6..9363b3af5aa 100644 --- a/src/mame/drivers/tetrisp2.cpp +++ b/src/mame/drivers/tetrisp2.cpp @@ -1903,7 +1903,7 @@ MACHINE_CONFIG_START(stepstag_state::stepstag) MCFG_SCREEN_SIZE(0x160, 0xf0) MCFG_SCREEN_VISIBLE_AREA(0, 0x160-1, 0, 0xf0-1) MCFG_SCREEN_UPDATE_DRIVER(stepstag_state, screen_update_stepstag_left) -// MCFG_SCREEN_PALETTE("lpalette") +// MCFG_SCREEN_PALETTE("lpalette") MCFG_SCREEN_ADD("mscreen", RASTER) MCFG_SCREEN_REFRESH_RATE(60) @@ -1911,7 +1911,7 @@ MACHINE_CONFIG_START(stepstag_state::stepstag) MCFG_SCREEN_SIZE(0x160, 0xf0) MCFG_SCREEN_VISIBLE_AREA(0, 0x160-1, 0, 0xf0-1) MCFG_SCREEN_UPDATE_DRIVER(stepstag_state, screen_update_stepstag_mid) -// MCFG_SCREEN_PALETTE("mpalette") +// MCFG_SCREEN_PALETTE("mpalette") MCFG_SCREEN_ADD("rscreen", RASTER) MCFG_SCREEN_REFRESH_RATE(30) @@ -2664,7 +2664,7 @@ ROM_START( vjdash ) ROM_FILL( 6, 1, 0x01 ) ROM_FILL( 0x100, 1, 0x60 ) ROM_FILL( 0x101, 1, 0xfe ) - + ROM_REGION( 0x0c00000, "sprites_left", ROMREGION_ERASE ) // left screen sprites ROM_LOAD( "vjdash-01", 0x000000, 0x400000, NO_DUMP ) ROM_LOAD( "vjdash-02", 0x400000, 0x400000, NO_DUMP ) @@ -2770,7 +2770,7 @@ ROM_START( step3 ) ROM_FILL( 6, 1, 0x01 ) ROM_FILL( 0x100, 1, 0x60 ) ROM_FILL( 0x101, 1, 0xfe ) - + ROM_REGION( 0x100000, "sub", 0 ) // 68000 ROM_LOAD16_BYTE( "vj98348_step3_11_v1.1", 0x00000, 0x80000, CRC(9c36aef5) SHA1(bbac48c2c7949a6f8a6ec83515e94a343c88d1b6) ) ROM_LOAD16_BYTE( "vj98348_step3_14_v1.1", 0x00001, 0x80000, CRC(b86be557) SHA1(49dbd6ef1c50adcf3386d5423da8ae7685649c46) ) |