mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
psikyo.cpp: Fix crash in samuraia and clones (#7831)
This commit is contained in:
parent
91c650a5c1
commit
4135a14a87
@ -1832,8 +1832,8 @@ ROM_END
|
||||
void psikyo_state::init_sngkace()
|
||||
{
|
||||
{
|
||||
u8 *RAM = memregion("ymsnd")->base();
|
||||
int len = memregion("ymsnd")->bytes();
|
||||
u8 *RAM = memregion("ymsnd:adpcma")->base();
|
||||
int len = memregion("ymsnd:adpcma")->bytes();
|
||||
|
||||
/* Bit 6&7 of the samples are swapped. Naughty, naughty... */
|
||||
for (int i = 0; i < len; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user