Welcome!

Final Burn Neo => FBN Development => Topic started by: DethXec on March 09, 2005, 07:03:37 PM

Title: Metal Slug X and P. Spikes 2 sound is f*cked up
Post by: DethXec on March 09, 2005, 07:03:37 PM
[0.2.95.23 Source]

I deleted #if 0 and #endif from the driver, but the samples (like "Mission 1. Starting!) "pop" all the way.

This is the only one driver that doesn't work that nice :p

Edit: Also noticed that Power Spike 2 doesn't have sound.
Title: Metal Slug X sound is f*cked up
Post by: DethXec on March 12, 2005, 01:22:51 AM
Well, the mslugx was just a problem with my V-ROM, but the sound in Power Spikes 2 still can't be heard.

Someone haves a fix?

Done: Paste this line over the other in your pspikes2 driver or just replace the 1 with the 4.

Code: [Select]
{ "068-mg1.bin",  0x020000, 0xb1c7911e, [color=red]4[/color] | BRF_ESS | BRF_PRG }, //  8 Z80 code
Title: Metal Slug X sound is f*cked up
Post by: netbug on March 12, 2005, 01:25:44 AM
I use original mame code.Maybe it will be better than the former code. :confused:

Code: [Select]

static void mslugxPatch()
{
unsigned short *mem16 = (unsigned short *)Neo68KROM;

for (int i = 0;i < (0x100000/2) - 4;i++)
{
if (mem16[i+0] == 0x0243 &&
mem16[i+1] == 0x0001 && /* andi.w  #$1, D3 */
mem16[i+2] == 0x6600) /* bne xxxx */
{
mem16[i+2] = 0x4e71;
mem16[i+3] = 0x4e71;
}
}

mem16[0x3bdc/2] = 0x4e71;
mem16[0x3bde/2] = 0x4e71;
mem16[0x3be0/2] = 0x4e71;
mem16[0x3c0c/2] = 0x4e71;
mem16[0x3c0e/2] = 0x4e71;
mem16[0x3c10/2] = 0x4e71;

mem16[0x3c36/2] = 0x4e71;
mem16[0x3c38/2] = 0x4e71;
}
Title: Metal Slug X sound is f*cked up
Post by: DethXec on March 12, 2005, 01:31:41 AM
LOL, thanks, I'll check that, but the sound is corrected already.

Well, I'll stick with the FBA patch, it may be a little larger but it's easier for me to understand it, and besides, it's similar to other FBA patches.
Title: Metal Slug X sound is f*cked up
Post by: iq_132 on March 12, 2005, 02:25:03 AM
The fba code does exactly the same as the mame code, it just looks a little different.
Title: Metal Slug X sound is f*cked up
Post by: DethXec on March 13, 2005, 01:30:46 AM
Quote from: iq_132
The fba code does exactly the same as the mame code, it just looks a little different.

Yes, I know, but I can understand (somewhat) the steps of the FBA patches.
Title: Metal Slug X sound is f*cked up
Post by: iq_132 on March 13, 2005, 10:03:57 AM
Sorry, I was replying to netbug ;)