From 229995b643458914a9d7f0b07dfb6c90a37838ae Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 13 Aug 2009 04:25:07 +0000 Subject: [PATCH] From: hoge hoge [mailto:c8cv@hotmail.com] Sent: Monday, August 03, 2009 5:33 AM To: submit@mamedev.org Subject: with attachment: fixing bootleg + sonson fixes Woops, forgot the attachment.. Hello, Thanks for including my fixes in the u1 release :) Attached diff for 0133u1 fixes 2 small things related to u1 fixes: - description bootleg inconsistency didn't include goldnpkr.c - forgot Y in sonson sprite wrap (see titlescreen when the 2 guys jump up) hap --- src/mame/drivers/goldnpkr.c | 12 ++++++------ src/mame/video/sonson.c | 9 +++------ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/mame/drivers/goldnpkr.c b/src/mame/drivers/goldnpkr.c index 22aeca57295..6b37ae2e30f 100644 --- a/src/mame/drivers/goldnpkr.c +++ b/src/mame/drivers/goldnpkr.c @@ -2914,12 +2914,12 @@ static DRIVER_INIT( royale ) GAMEL( 1981, goldnpkr, 0, goldnpkr, goldnpkr, 0, ROT0, "Bonanza Enterprises, Ltd", "Golden Poker Double Up (Big Boy)", 0, layout_goldnpkr ) GAMEL( 1981, goldnpkb, goldnpkr, goldnpkr, goldnpkr, 0, ROT0, "Bonanza Enterprises, Ltd", "Golden Poker Double Up (Mini Boy)", 0, layout_goldnpkr ) GAMEL( 1981, pmpoker, 0, goldnpkr, pmpoker, 0, ROT0, "PlayMan", "PlayMan Poker (german)", 0, layout_pmpoker ) -GAMEL( 198?, pottnpkr, 0, pottnpkr, pottnpkr, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 1)", 0, layout_goldnpkr ) -GAMEL( 198?, potnpkra, pottnpkr, pottnpkr, potnpkra, 0, ROT0, "Bootleg on Coinmaster H/W", "Jack Potten's Poker (set 2)", 0, layout_goldnpkr ) -GAMEL( 198?, potnpkrb, pottnpkr, pottnpkr, pottnpkr, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 3)", 0, layout_goldnpkr ) -GAMEL( 198?, potnpkrc, pottnpkr, pottnpkr, potnpkrc, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 4)", 0, layout_goldnpkr ) -GAMEL( 198?, potnpkrd, pottnpkr, pottnpkr, potnpkrc, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 5)", 0, layout_goldnpkr ) -GAMEL( 198?, potnpkre, pottnpkr, pottnpkr, pottnpkr, 0, ROT0, "Bootleg", "Jack Potten's Poker (set 6)", 0, layout_goldnpkr ) +GAMEL( 198?, pottnpkr, 0, pottnpkr, pottnpkr, 0, ROT0, "bootleg", "Jack Potten's Poker (set 1)", 0, layout_goldnpkr ) +GAMEL( 198?, potnpkra, pottnpkr, pottnpkr, potnpkra, 0, ROT0, "bootleg", "Jack Potten's Poker (set 2) (Coinmaster hardware)", 0, layout_goldnpkr ) +GAMEL( 198?, potnpkrb, pottnpkr, pottnpkr, pottnpkr, 0, ROT0, "bootleg", "Jack Potten's Poker (set 3)", 0, layout_goldnpkr ) +GAMEL( 198?, potnpkrc, pottnpkr, pottnpkr, potnpkrc, 0, ROT0, "bootleg", "Jack Potten's Poker (set 4)", 0, layout_goldnpkr ) +GAMEL( 198?, potnpkrd, pottnpkr, pottnpkr, potnpkrc, 0, ROT0, "bootleg", "Jack Potten's Poker (set 5)", 0, layout_goldnpkr ) +GAMEL( 198?, potnpkre, pottnpkr, pottnpkr, pottnpkr, 0, ROT0, "bootleg", "Jack Potten's Poker (set 6)", 0, layout_goldnpkr ) GAMEL( 1991, goodluck, 0, witchcrd, goodluck, 0, ROT0, "", "Good Luck", 0, layout_goldnpkr ) GAMEL( 198?, royale, 0, goldnpkr, royale, royale, ROT0, "", "Royale (set 1)", GAME_NOT_WORKING, layout_goldnpkr ) GAMEL( 198?, royalea, royale, goldnpkr, royale, royale, ROT0, "", "Royale (set 2)", GAME_NOT_WORKING, layout_goldnpkr ) diff --git a/src/mame/video/sonson.c b/src/mame/video/sonson.c index fc0e8206685..980a89c823e 100644 --- a/src/mame/video/sonson.c +++ b/src/mame/video/sonson.c @@ -162,12 +162,9 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta flipx, flipy, sx, sy, 0); - /* wrap-around x */ - drawgfx_transpen(bitmap, cliprect, - machine->gfx[1], - code, color, - flipx, flipy, - sx - 256, sy, 0); + /* wrap-around */ + drawgfx_transpen(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, sx - 256, sy, 0); + drawgfx_transpen(bitmap, cliprect, machine->gfx[1], code, color, flipx, flipy, sx, sy - 256, 0); } }