Hello again,
I would like to have your opinion on a possibly very little bug always in the sr2 music
At the end of attract mode, when title sega rally appears, music volume starts to decrease (seems to be OK) but after, new title "http:\\" appears and volume goes up (seems to be bad)
I investigate the command/data
during attract mode (game footage) I get the normal volume data value
during sega rally title screen I get the volume data value that start to decrease
during http:\\ title screen I get a new command I think (0x96) .This can't be a volume data value because based on my findings, volume data value does not exceed value of 0x8d (at least for sr2)
actually, it's processed like a volume data value so volume goes up
If I detect when I get this command (0x96) and if I stop music then it seems to me a bit abrupt
Question is what this new supposed command does
-stop music ?
-fade music ?
-other ?
-does this appear in other games ?
-Where to treat this command ?
ST_GOTB4 actually empty and working if I stop music here
ST_GOTB0 I don't think so, it's for setting volume
ST_GOTA0 I don't think so, it's for choosing audio channel
ST_GOTA4 Actually for specific case daytona2pe advertise tune
Original video attract mode (look at 3:06 and compare with supermodel)
https://www.youtube.com/watch?v=KVut7KrHPVYthe code would be only (dsb.cpp CDSB2::WriteMPEGFIFO())
case ST_GOTB4:
if (byte == 0x96)
{
MPEG_StopPlaying();
playing = 0;
}
mpegState = ST_IDLE;
break;
++