SND_startPlay_TFM doesn't sound like it should
Posted: Tue Jun 25, 2013 12:54 pm
Playing multiple TFD's files via SND_startPlay_TFM function I notice a weird behavior. Can't describe what's exactly wrong and also can't say why it happens, but music certainly doesn't sound like it should. Can someone point about what's going on?
-------------------------------------------------------------------------------------
Based on sound.c I wrote a function to stop music. I'll put all my money it will not work
-------------------------------------------------------------------------------------
Based on sound.c I wrote a function to stop music. I'll put all my money it will not work

Code: Select all
void music_stop ()
{
vu8 *pb;
Z80_loadDriver ( Z80_DRIVER_TFM, 0 );
Z80_requestBus ( 1 );
pb = (u8 *) 0xA02000;
*pb = 0x00;
Z80_releaseBus();
}