Final Burn Neo > FBN Development

[Fix] Small sound bug in some V-encrypted Neo-Geo games (v0.2.95.23)

(1/1)

Death Metal:
I found some minor bug today in FBA v0.2.95.23 that was causing sound noise in a few Neo-Geo games that need V bitswapping code, and managed to fix it. Just thought it would be useful to mention here.

In src\burn\neogeo\d_neogeo.cpp Find the following line:

--- Code: ---
YM2610ADPCMAROM[nAddress] = pTemp[(i + pInfo->nAddressXor) & 0xffffff] ^ pInfo->nDataXor[nAddress & 0x07];

--- End code ---


Change that for the code below (it's almost not different):

--- Code: ---
YM2610ADPCMAROM[nAddress] = pTemp[i & 0xffffff] ^ pInfo->nDataXor[nAddress & 0x07];

--- End code ---


That's it. An annoying, unnecesary pInfo->nAddressXor was being added to the i variable, being that the source of the noise.

Navigation

[0] Message Index

Go to full version