Skip to content

Commit

Permalink
d_deco32: fix HuC6280 freq for nslasheru & fghthist
Browse files Browse the repository at this point in the history
  • Loading branch information
barbudreadmon authored Oct 10, 2024
1 parent 8159bd4 commit 573964c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/burn/drv/dataeast/d_deco32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@ void deco32_z80_sound_init(UINT8 *rom, UINT8 *ram)
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_2, 0.40, BURN_SND_ROUTE_RIGHT);
BurnTimerAttachZet(3580000);

MSM6295Init(0, (32220000 / 32) / 132, 1);
MSM6295Init(1, (32220000 / 16) / 132, 1);
MSM6295Init(0, (32220000 / 32) / MSM6295_PIN7_HIGH, 1);
MSM6295Init(1, (32220000 / 16) / MSM6295_PIN7_HIGH, 1);
MSM6295SetRoute(0, 1.00, BURN_SND_ROUTE_BOTH);
MSM6295SetRoute(1, 0.25, BURN_SND_ROUTE_BOTH);
}
Expand Down Expand Up @@ -1659,7 +1659,7 @@ static INT32 FghthistCommonInit(INT32 z80_sound, UINT32 speedhack)
else
{
use_z80 = 0;
deco16SoundInit(DrvHucROM, DrvHucRAM, 3580000, 0, DrvYM2151WritePort, 0.42, 1006875, 1.00, 2013750, 0.35);
deco16SoundInit(DrvHucROM, DrvHucRAM, 4027500, 0, DrvYM2151WritePort, 0.42, 1006875, 1.00, 2013750, 0.35);
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_1, 0.80, BURN_SND_ROUTE_LEFT);
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_2, 0.80, BURN_SND_ROUTE_RIGHT);
}
Expand Down Expand Up @@ -1961,7 +1961,7 @@ static INT32 NslasherCommonInit(INT32 has_z80, UINT32 speedhack)
}
else
{
deco16SoundInit(DrvHucROM, DrvHucRAM, 3580000, 0, DrvYM2151WritePort, 0.42, 1006875, 1.00, 2013750, 0.25);
deco16SoundInit(DrvHucROM, DrvHucRAM, 4027500, 0, DrvYM2151WritePort, 0.42, 1006875, 1.00, 2013750, 0.25);
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_1, 0.80, BURN_SND_ROUTE_LEFT);
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_2, 0.80, BURN_SND_ROUTE_RIGHT);
}
Expand Down

2 comments on commit 573964c

@barbudreadmon
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dinkc64 any way i'm looking at this, the nslasherj romset the ost idiot is using is already working properly, am i missing something ?

@dinkc64
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, so what's the problem then?

Please sign in to comment.