From 63ea5b89d8635b5eb84d2cc4bd3b099f280f75ea Mon Sep 17 00:00:00 2001 From: Roberto Zandona Date: Tue, 18 Jan 2011 23:50:48 +0000 Subject: [PATCH] toaplan2: added opcodes; now the sound is working --- src/mame/drivers/toaplan2.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mame/drivers/toaplan2.c b/src/mame/drivers/toaplan2.c index 3c1f179dfe2..9640e498049 100644 --- a/src/mame/drivers/toaplan2.c +++ b/src/mame/drivers/toaplan2.c @@ -3467,8 +3467,8 @@ those 3 games have been seen with the NITRO905 chip, other alias are ts002mach for dogyuun, ts004dash for kbash and ts007spy for vfive */ static const UINT8 ts002mach_decryption_table[256] = { - 0x00,0x56,0x75,0x88,0x8c,0x06,0x58,0x72, 0x83,0x86,0x36,0x0b,0x5f,0xd3,0x8c,0xe9, /* 00 */ - /*r*//*r*//*r*//*r*//*r*//*a*//*r*/ /*a*//*a*//*x*/ /*a*//*a*//*r*//*r*/ + 0x1b,0x56,0x75,0x88,0x8c,0x06,0x58,0x72, 0x83,0x86,0x36,0x1a,0x5f,0xd3,0x8c,0xe9, /* 00 */ + /*W*//*r*//*r*//*r*//*r*//*r*//*a*//*r*/ /*a*//*a*//*x*//*W*//*a*//*a*//*r*//*r*/ 0x10,0x0f,0x03,0x13,0xeb,0x15,0xf9,0x0f, 0xa4,0xbd,0x75,0xf3,0x4f,0x53,0x8e,0xfe, /* 10 */ /*W*//*r*/ /*r*/ /*W*//*r*/ /*r*//*a*//*r*//*r*//*r*//*W*//*x*//*r*/ 0x87,0xe8,0xb1,0x8d,0x36,0xb5,0x43,0x73, 0x28,0x5b,0xf9,0x02,0x24,0x8a,0x03,0x80, /* 20 */ @@ -3479,16 +3479,16 @@ static const UINT8 ts002mach_decryption_table[256] = { /*r*//*a*//*r*//*a*//*x*/ /*a*/ /*W*//*W*/ /*r*//*W*//*r*//*a*/ 0x87,0x72,0xb5,0xbd,0xb0,0x88,0x50,0x0f, 0xfe,0xd2,0xc3,0x5b,0x8a,0x5d,0xf9,0x75, /* 50 */ /*W*//*a*//*a*//*r*//*r*//*a*//*a*//*a*/ /*r*//*W*//*r*/ /*r*/ /*W*//*r*/ - 0x60,0xb3,0x74,0x0a,0x68,0x24,0xbb,0x67, 0x75,0x47,0xfe,0x2c,0xbe,0xc3,0x88,0xd2, /* 60 */ - /*r*//*a*//*r*//*a*//*a*//*W*/ /*r*//*a*//*r*//*W*//*W*//*a*//*r*//*a*/ + 0x1a,0xb3,0x74,0x0a,0x68,0x24,0xbb,0x67, 0x75,0x47,0xfe,0x2c,0xbe,0xc3,0x88,0xd2, /* 60 */ + /*W*//*r*//*a*//*r*//*a*//*a*//*W*/ /*r*//*a*//*r*//*W*//*W*//*a*//*r*//*a*/ 0x3e,0xc1,0x8c,0x33,0x0f,0x75,0x8b,0x77, 0xb9,0x1e,0xff,0xa2,0x3e,0x7d,0xbe,0x57, /* 70 */ /*r*//*W*//*r*//*r*//*a*/ /*a*/ /*r*//*r*//*a*//*r*//*a*/ /*r*//*a*/ 0x81,0x3a,0xf6,0x88,0xeb,0xb1,0x89,0x8a, 0x32,0x80,0x0f,0xb1,0x48,0xc3,0x68,0x72, /* 80 */ /*r*//*r*//*r*//*r*//*a*//*W*//*a*//*r*/ /*r*//*r*//*r*//*a*//*x*//*a*//*a*//*r*/ 0x53,0x02,0xc0,0x02,0xe8,0xb4,0x74,0xbc, 0x98,0x58,0x0a,0xf3,0x75,0xc6,0x9e,0xe8, /* 90 */ /*a*//*W*//*r*//*W*//*r*//*r*//*r*//*x*/ /*a*//*r*//*r*//*r*//*x*/ /*r*/ - 0x26,0x50,0xfc,0x8c,0xa4,0xb1,0xc3,0xd1, 0xeb,0x83,0xa4,0xbf,0x26,0xad,0x46,0xfe, /* a0 */ - /*r*//*a*//*a*//*r*/ /*a*//*r*//*W*/ /*a*//*r*//*r*//*r*//*r*/ /*a*//*r*/ + 0x26,0x50,0xfc,0x8c,0xa4,0xb1,0xc3,0xd1, 0xeb,0x83,0xa4,0xbf,0x26,0x4b,0x46,0xfe, /* a0 */ + /*r*//*a*//*a*//*r*/ /*a*//*r*//*W*/ /*a*//*r*//*r*//*r*//*r*//*W*//*a*//*r*/ 0xe2,0x89,0xb3,0x88,0x03,0x56,0x0f,0x38, 0xbb,0x0c,0xba,0x0f,0x07,0x8a,0x8a,0x33, /* b0 */ /*r*//*a*//*W*//*r*//*a*//*W*//*r*//*W*/ /*W*//*W*/ /*a*//*r*//*r*//*r*//*x*/ 0xfe,0xf9,0xb1,0xa0,0x45,0x36,0x22,0x5e, 0x8a,0xbe,0xc6,0xea,0x3c,0xb6,0x1e,0xe8, /* c0 */