Excellent! I know I'll have a lot of fun tinkering around with the SSF engine.

Here's a patch I came up with to handle the 16-bit PCM problem I mentioned in another thread:

Code
diff -Nru aosdk/eng_ssf/scsp.c aosdk_new/eng_ssf/scsp.c
--- aosdk/eng_ssf/scsp.c	2007-10-26 19:43:32.000000000 -0700
+++ aosdk_new/eng_ssf/scsp.c	2007-10-27 22:23:38.000000000 -0700
@@ -400,7 +400,8 @@
 {
 	slot->active=1;
 	slot->Backwards=0;
-	slot->base=SCSP->SCSPRAM+SA(slot);
+	UINT32 start_offset = PCM8B(slot) ? SA(slot) : SA(slot) & 0x7FFFE;
+	slot->base=SCSP->SCSPRAM + start_offset;
 	slot->cur_addr=0;
 	slot->step=SCSP_Step(slot);
 	Compute_EG(SCSP,slot);


Example ssf which the patch affects ---> http://h1.ripway.com/kingshriek/sakutai2_47.zip