From e1d441fa9b1715a33e803cf9a82a782d4038b16b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 12 Oct 2015 08:10:27 +0200 Subject: [PATCH] Revert "Updated some swap and flip screen orientation (nw)" This reverts commit 9326b32aa9ca8a5fea6ad2638f9dc7d1f2163e8f. --- src/mame/drivers/destroyr.c | 1 - src/mame/drivers/diverboy.c | 1 - src/mame/drivers/gunbustr.c | 1 - src/mame/drivers/konamigx.c | 3 --- src/mame/drivers/ksayakyu.c | 1 - src/mame/drivers/ladyfrog.c | 1 - src/mame/drivers/lethal.c | 2 -- src/mame/drivers/mc80.c | 1 - src/mame/drivers/mcr3.c | 2 -- src/mame/drivers/othunder.c | 1 - src/mame/drivers/segag80v.c | 4 ---- src/mame/drivers/skyraid.c | 1 - src/mame/drivers/stactics.c | 2 +- src/mame/drivers/starshp1.c | 1 - src/mame/drivers/superchs.c | 3 --- src/mame/drivers/taito_z.c | 2 -- src/mame/drivers/tetrisp2.c | 3 --- src/mame/drivers/travrusa.c | 3 --- src/mame/drivers/tunhunt.c | 1 - src/mame/drivers/turbo.c | 1 - src/mame/drivers/upscope.c | 1 - src/mame/drivers/vcombat.c | 1 - src/mame/drivers/wolfpack.c | 1 - 23 files changed, 1 insertion(+), 37 deletions(-) diff --git a/src/mame/drivers/destroyr.c b/src/mame/drivers/destroyr.c index f893b2d919c..9501892bbc1 100644 --- a/src/mame/drivers/destroyr.c +++ b/src/mame/drivers/destroyr.c @@ -501,7 +501,6 @@ static MACHINE_CONFIG_START( destroyr, destroyr_state ) MCFG_SCREEN_VISIBLE_AREA(0, 255, 0, 239) MCFG_SCREEN_UPDATE_DRIVER(destroyr_state, screen_update) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_GFXDECODE_ADD("gfxdecode", "palette", destroyr) MCFG_PALETTE_ADD("palette", 8) diff --git a/src/mame/drivers/diverboy.c b/src/mame/drivers/diverboy.c index e74c1af9ba2..c9d698cd6da 100644 --- a/src/mame/drivers/diverboy.c +++ b/src/mame/drivers/diverboy.c @@ -278,7 +278,6 @@ static MACHINE_CONFIG_START( diverboy, diverboy_state ) MCFG_SCREEN_VISIBLE_AREA(0*8+4, 40*8+1, 2*8, 32*8-1) MCFG_SCREEN_UPDATE_DRIVER(diverboy_state, screen_update_diverboy) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_PALETTE_ADD("palette", 0x400) MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR) diff --git a/src/mame/drivers/gunbustr.c b/src/mame/drivers/gunbustr.c index 3c1684ac8ee..c17c60159fb 100644 --- a/src/mame/drivers/gunbustr.c +++ b/src/mame/drivers/gunbustr.c @@ -291,7 +291,6 @@ static MACHINE_CONFIG_START( gunbustr, gunbustr_state ) MCFG_SCREEN_VISIBLE_AREA(0, 40*8-1, 2*8, 32*8-1) MCFG_SCREEN_UPDATE_DRIVER(gunbustr_state, screen_update_gunbustr) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_GFXDECODE_ADD("gfxdecode", "palette", gunbustr) MCFG_PALETTE_ADD("palette", 4096) diff --git a/src/mame/drivers/konamigx.c b/src/mame/drivers/konamigx.c index 2c654dca715..756f35e2bea 100644 --- a/src/mame/drivers/konamigx.c +++ b/src/mame/drivers/konamigx.c @@ -1681,9 +1681,6 @@ static MACHINE_CONFIG_DERIVED( le2, konamigx ) MCFG_DEVICE_MODIFY("k055673") MCFG_K055673_CB(konamigx_state, le2_sprite_callback) MCFG_K055673_CONFIG("gfx2", 0, K055673_LAYOUT_LE2, -46, -23) - - MCFG_SCREEN_MODIFY("screen") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_Y) MACHINE_CONFIG_END static MACHINE_CONFIG_DERIVED( konamigx_6bpp, konamigx ) diff --git a/src/mame/drivers/ksayakyu.c b/src/mame/drivers/ksayakyu.c index cac133a957a..050a11fc592 100644 --- a/src/mame/drivers/ksayakyu.c +++ b/src/mame/drivers/ksayakyu.c @@ -268,7 +268,6 @@ static MACHINE_CONFIG_START( ksayakyu, ksayakyu_state ) MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1) MCFG_SCREEN_UPDATE_DRIVER(ksayakyu_state, screen_update_ksayakyu) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_Y) MCFG_GFXDECODE_ADD("gfxdecode", "palette", ksayakyu) MCFG_PALETTE_ADD("palette", 256) diff --git a/src/mame/drivers/ladyfrog.c b/src/mame/drivers/ladyfrog.c index af4070a3fc1..9a4782366d9 100644 --- a/src/mame/drivers/ladyfrog.c +++ b/src/mame/drivers/ladyfrog.c @@ -300,7 +300,6 @@ static MACHINE_CONFIG_START( ladyfrog, ladyfrog_state ) MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 29*8-1) // black borders in ladyfrog gameplay are correct MCFG_SCREEN_UPDATE_DRIVER(ladyfrog_state, screen_update_ladyfrog) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_SWAP_XY) MCFG_GFXDECODE_ADD("gfxdecode", "palette", ladyfrog) MCFG_PALETTE_ADD("palette", 512) diff --git a/src/mame/drivers/lethal.c b/src/mame/drivers/lethal.c index 3ca47fe39d8..2e0c072a12b 100644 --- a/src/mame/drivers/lethal.c +++ b/src/mame/drivers/lethal.c @@ -519,7 +519,6 @@ static MACHINE_CONFIG_START( lethalen, lethal_state ) MCFG_SCREEN_VISIBLE_AREA(216, 504-1, 16, 240-1) MCFG_SCREEN_UPDATE_DRIVER(lethal_state, screen_update_lethalen) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_Y) MCFG_PALETTE_ADD("palette", 8192) MCFG_PALETTE_ENABLE_SHADOWS() @@ -552,7 +551,6 @@ static MACHINE_CONFIG_DERIVED( lethalej, lethalen ) MCFG_SCREEN_MODIFY("screen") MCFG_SCREEN_VISIBLE_AREA(224, 512-1, 16, 240-1) - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_DEVICE_MODIFY("k053244") MCFG_K05324X_OFFSETS(-105, 0) diff --git a/src/mame/drivers/mc80.c b/src/mame/drivers/mc80.c index 72b74fa356f..ee2ae44bfee 100644 --- a/src/mame/drivers/mc80.c +++ b/src/mame/drivers/mc80.c @@ -215,7 +215,6 @@ static MACHINE_CONFIG_START( mc8030, mc80_state ) MCFG_VIDEO_START_OVERRIDE(mc80_state,mc8030) MCFG_SCREEN_UPDATE_DRIVER(mc80_state, screen_update_mc8030) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_PALETTE_ADD_BLACK_AND_WHITE("palette") diff --git a/src/mame/drivers/mcr3.c b/src/mame/drivers/mcr3.c index da5b9772cda..ef9e885ead8 100644 --- a/src/mame/drivers/mcr3.c +++ b/src/mame/drivers/mcr3.c @@ -1359,8 +1359,6 @@ static MACHINE_CONFIG_DERIVED( mcrscroll, mcrmono ) MCFG_SCREEN_SIZE(30*16, 30*16) MCFG_SCREEN_VISIBLE_AREA(0, 30*16-1, 0, 30*16-1) MCFG_SCREEN_UPDATE_DRIVER(mcr3_state, screen_update_spyhunt) - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) - MCFG_GFXDECODE_MODIFY("gfxdecode", spyhunt) MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_ENTRIES(64+4) diff --git a/src/mame/drivers/othunder.c b/src/mame/drivers/othunder.c index 12c382edc7b..ef2783e7fd8 100644 --- a/src/mame/drivers/othunder.c +++ b/src/mame/drivers/othunder.c @@ -662,7 +662,6 @@ static MACHINE_CONFIG_START( othunder, othunder_state ) MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1) MCFG_SCREEN_UPDATE_DRIVER(othunder_state, screen_update_othunder) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_GFXDECODE_ADD("gfxdecode", "palette", othunder) MCFG_PALETTE_ADD("palette", 4096) diff --git a/src/mame/drivers/segag80v.c b/src/mame/drivers/segag80v.c index d3bbfbc253a..0d9e606c5cf 100644 --- a/src/mame/drivers/segag80v.c +++ b/src/mame/drivers/segag80v.c @@ -885,7 +885,6 @@ static MACHINE_CONFIG_START( g80v_base, segag80v_state ) MCFG_SCREEN_VISIBLE_AREA(512, 1536, 640-32, 1408+32) MCFG_SCREEN_UPDATE_DRIVER(segag80v_state, screen_update_segag80v) MCFG_SCREEN_ORIENTATION(ROT270) - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_Y) MCFG_VECTOR_ADD("vector") @@ -937,9 +936,6 @@ static MACHINE_CONFIG_DERIVED( tacscan, g80v_base ) /* universal sound board */ MCFG_SEGAUSB_ADD("usbsnd") - - MCFG_SCREEN_MODIFY("screen") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X ^ ROT270) MACHINE_CONFIG_END diff --git a/src/mame/drivers/skyraid.c b/src/mame/drivers/skyraid.c index 4f77d6b01e7..dc11913cec0 100644 --- a/src/mame/drivers/skyraid.c +++ b/src/mame/drivers/skyraid.c @@ -230,7 +230,6 @@ static MACHINE_CONFIG_START( skyraid, skyraid_state ) MCFG_SCREEN_VISIBLE_AREA(0, 511, 0, 239) MCFG_SCREEN_UPDATE_DRIVER(skyraid_state, screen_update_skyraid) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_Y) MCFG_GFXDECODE_ADD("gfxdecode", "palette", skyraid) diff --git a/src/mame/drivers/stactics.c b/src/mame/drivers/stactics.c index 44400a689aa..2b556a6b752 100644 --- a/src/mame/drivers/stactics.c +++ b/src/mame/drivers/stactics.c @@ -307,7 +307,7 @@ static MACHINE_CONFIG_START( stactics, stactics_state ) /* video hardware */ MCFG_FRAGMENT_ADD(stactics_video) - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) + /* audio hardware */ MACHINE_CONFIG_END diff --git a/src/mame/drivers/starshp1.c b/src/mame/drivers/starshp1.c index 4ed4ad0d88d..60cefc0d6b0 100644 --- a/src/mame/drivers/starshp1.c +++ b/src/mame/drivers/starshp1.c @@ -309,7 +309,6 @@ static MACHINE_CONFIG_START( starshp1, starshp1_state ) MCFG_SCREEN_UPDATE_DRIVER(starshp1_state, screen_update_starshp1) MCFG_SCREEN_VBLANK_DRIVER(starshp1_state, screen_eof_starshp1) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_GFXDECODE_ADD("gfxdecode", "palette", starshp1) MCFG_PALETTE_ADD("palette", 19) diff --git a/src/mame/drivers/superchs.c b/src/mame/drivers/superchs.c index f6da28416fd..f19beb885cd 100644 --- a/src/mame/drivers/superchs.c +++ b/src/mame/drivers/superchs.c @@ -346,9 +346,6 @@ static MACHINE_CONFIG_DERIVED( chase3, superchs ) MCFG_CPU_MODIFY("sub") MCFG_CPU_PROGRAM_MAP(chase3_cpub_map) MCFG_CPU_VBLANK_INT_DRIVER("screen", superchs_state, irq4_line_hold) - - MCFG_SCREEN_MODIFY("screen") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MACHINE_CONFIG_END /***************************************************************************/ diff --git a/src/mame/drivers/taito_z.c b/src/mame/drivers/taito_z.c index 74c97c718e8..bc2652c33c8 100644 --- a/src/mame/drivers/taito_z.c +++ b/src/mame/drivers/taito_z.c @@ -3242,7 +3242,6 @@ static MACHINE_CONFIG_START( bshark, taitoz_state ) MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1) MCFG_SCREEN_UPDATE_DRIVER(taitoz_state, screen_update_bshark) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_GFXDECODE_ADD("gfxdecode", "palette", taitoz) MCFG_PALETTE_ADD("palette", 4096) @@ -3557,7 +3556,6 @@ static MACHINE_CONFIG_START( spacegun, taitoz_state ) MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 32*8-1) MCFG_SCREEN_UPDATE_DRIVER(taitoz_state, screen_update_spacegun) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_GFXDECODE_ADD("gfxdecode", "palette", taitoz) MCFG_PALETTE_ADD("palette", 4096) diff --git a/src/mame/drivers/tetrisp2.c b/src/mame/drivers/tetrisp2.c index e8feea294b7..8982a7657f5 100644 --- a/src/mame/drivers/tetrisp2.c +++ b/src/mame/drivers/tetrisp2.c @@ -1369,7 +1369,6 @@ static MACHINE_CONFIG_START( nndmseal, tetrisp2_state ) MCFG_SCREEN_VISIBLE_AREA(0, 0x180-1, 0, 0xf0-1) MCFG_SCREEN_UPDATE_DRIVER(tetrisp2_state, screen_update_tetrisp2) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_GFXDECODE_ADD("gfxdecode", "palette", tetrisp2) MCFG_PALETTE_ADD("palette", 0x8000) @@ -1401,7 +1400,6 @@ static MACHINE_CONFIG_START( rockn, tetrisp2_state ) MCFG_SCREEN_VISIBLE_AREA(0, 0x140-1, 0, 0xe0-1) MCFG_SCREEN_UPDATE_DRIVER(tetrisp2_state, screen_update_rockntread) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ROT270) MCFG_GFXDECODE_ADD("gfxdecode", "palette", tetrisp2) MCFG_PALETTE_ADD("palette", 0x8000) @@ -1434,7 +1432,6 @@ static MACHINE_CONFIG_START( rockn2, tetrisp2_state ) MCFG_SCREEN_VISIBLE_AREA(0, 0x140-1, 0, 0xe0-1) MCFG_SCREEN_UPDATE_DRIVER(tetrisp2_state, screen_update_rockntread) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ROT270) MCFG_GFXDECODE_ADD("gfxdecode", "palette", tetrisp2) MCFG_PALETTE_ADD("palette", 0x8000) diff --git a/src/mame/drivers/travrusa.c b/src/mame/drivers/travrusa.c index b7948022480..71d215571b2 100644 --- a/src/mame/drivers/travrusa.c +++ b/src/mame/drivers/travrusa.c @@ -338,9 +338,6 @@ static MACHINE_CONFIG_DERIVED( shtrider, travrusa ) MCFG_GFXDECODE_MODIFY("gfxdecode", shtrider) MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_INIT_OWNER(travrusa_state,shtrider) - - MCFG_SCREEN_MODIFY("screen") - MCFG_SCREEN_ORIENTATION(ROT270 | ORIENTATION_FLIP_X) MACHINE_CONFIG_END static MACHINE_CONFIG_DERIVED( shtriderb, travrusa ) diff --git a/src/mame/drivers/tunhunt.c b/src/mame/drivers/tunhunt.c index b056b991688..cc567c6778e 100644 --- a/src/mame/drivers/tunhunt.c +++ b/src/mame/drivers/tunhunt.c @@ -281,7 +281,6 @@ static MACHINE_CONFIG_START( tunhunt, tunhunt_state ) MCFG_SCREEN_VISIBLE_AREA(0, 255, 0, 255-16) MCFG_SCREEN_UPDATE_DRIVER(tunhunt_state, screen_update) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_SWAP_XY) MCFG_GFXDECODE_ADD("gfxdecode", "palette", tunhunt) MCFG_PALETTE_ADD("palette", 0x1a) diff --git a/src/mame/drivers/turbo.c b/src/mame/drivers/turbo.c index 0e27b6759b0..66caf369ea4 100644 --- a/src/mame/drivers/turbo.c +++ b/src/mame/drivers/turbo.c @@ -908,7 +908,6 @@ static MACHINE_CONFIG_START( subroc3d, turbo_state ) MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART) MCFG_SCREEN_UPDATE_DRIVER(turbo_state, screen_update_subroc3d) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_VIDEO_START_OVERRIDE(turbo_state,turbo) diff --git a/src/mame/drivers/upscope.c b/src/mame/drivers/upscope.c index 862ce82a64c..2e4d0b60eb6 100644 --- a/src/mame/drivers/upscope.c +++ b/src/mame/drivers/upscope.c @@ -275,7 +275,6 @@ static MACHINE_CONFIG_START( upscope, upscope_state ) /* video hardware */ MCFG_FRAGMENT_ADD(ntsc_video) - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_PALETTE_ADD("palette", 4096) MCFG_PALETTE_INIT_OWNER(upscope_state,amiga) diff --git a/src/mame/drivers/vcombat.c b/src/mame/drivers/vcombat.c index 9c8fb81176f..98818ffa0d2 100644 --- a/src/mame/drivers/vcombat.c +++ b/src/mame/drivers/vcombat.c @@ -575,7 +575,6 @@ static MACHINE_CONFIG_START( vcombat, vcombat_state ) MCFG_SCREEN_ADD("screen", RASTER) MCFG_SCREEN_RAW_PARAMS(XTAL_12MHz / 2, 400, 0, 256, 291, 0, 208) MCFG_SCREEN_UPDATE_DRIVER(vcombat_state, screen_update_vcombat_main) - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_X) MCFG_SCREEN_ADD("aux", RASTER) MCFG_SCREEN_RAW_PARAMS(XTAL_12MHz / 2, 400, 0, 256, 291, 0, 208) diff --git a/src/mame/drivers/wolfpack.c b/src/mame/drivers/wolfpack.c index 42572a99da9..dbe21b838de 100644 --- a/src/mame/drivers/wolfpack.c +++ b/src/mame/drivers/wolfpack.c @@ -315,7 +315,6 @@ static MACHINE_CONFIG_START( wolfpack, wolfpack_state ) MCFG_SCREEN_UPDATE_DRIVER(wolfpack_state, screen_update_wolfpack) MCFG_SCREEN_VBLANK_DRIVER(wolfpack_state, screen_eof_wolfpack) MCFG_SCREEN_PALETTE("palette") - MCFG_SCREEN_ORIENTATION(ORIENTATION_FLIP_Y) MCFG_GFXDECODE_ADD("gfxdecode", "palette", wolfpack) MCFG_PALETTE_ADD("palette", 12)