E-Swat - Cyber Police (all versions) sound banking fix ======================================================== NOTES: * E-Swat uses different sound banking commands as other System16 games. Altered Beast for example uses the commands 0xc0 - 0xcf. E-Swat use for the lower bank 0xc0 - 0xc7, but for the higher bank 0xd0-0xd7. And that's why the bank switch ( UPD7759_bank_w ) of MAME doesn't play samples like "Hey let's Party". * The changes below fixed this. E-Swat Sound banks (mpr12616.a11): 0 $00000 Cop shoots 1 $04000 Enemy shoots 2 $08000 Lion shout 3 $0c000 -------- 4 $10000 Car stops 5 $14000 Car noise 6 $18000 -------- 7 $1c000 -------- 0 $20000 "Hey let's Party" 1 $24000 "Huarrrrrr" 2 $28000 Girl cries + "Thank You Officer" 3 $2c000 "Get out of my way" 4 $30000 "No One Gonna Get Me" 5 $34000 "Ha Ha Hrrrrr" 6 $38000 -------- 7 $3c000 -------- SOURCE: system16.c Replace int sys16_wwfix=0, sys16_alienfix=0; //* with: int sys16_wwfix=0, sys16_alienfix=0, sys16_eswatfix=0;; //* Add to static WRITE8_HANDLER( UPD7759_bank_w ) //* after if (sys16_alienfix && (data&0x30)==0x20) data-=2; this if (sys16_eswatfix && (data&0xd0)==0xd0) data-=8; Add to static MACHINE_INIT( eswat ) and static MACHINE_INIT( eswatbl ): sys16_eswatfix = 1; // Sound banking fix (c) 2004 M.A.S.H.