Fix sound for dw2001 & dwpc

This commit is contained in:
iq_132 2014-01-11 00:34:16 +00:00
parent 58349b1b50
commit 2c861d8e99
1 changed files with 9 additions and 1 deletions

View File

@ -2824,9 +2824,17 @@ static struct BurnRomInfo dw2001RomDesc[] = {
STDROMPICKEXT(dw2001, dw2001, pgm) STDROMPICKEXT(dw2001, dw2001, pgm)
STD_ROM_FN(dw2001) STD_ROM_FN(dw2001)
static void dw2001Callback()
{
pgm_decrypt_martmast();
// add proper fix to rom loading routines at a later date
memcpy (ICSSNDROM + 0x200000, ICSSNDROM + 0x400000, 0x200000);
}
static INT32 dw2001Init() static INT32 dw2001Init()
{ {
pPgmInitCallback = pgm_decrypt_martmast; pPgmInitCallback = dw2001Callback;
pPgmProtCallback = install_protection_asic27a_martmast; pPgmProtCallback = install_protection_asic27a_martmast;
INT32 nRet = pgmInit(); INT32 nRet = pgmInit();