Ecco splash sound fix?
authornotaz <notasas@gmail.com>
Tue, 12 Aug 2008 12:21:10 +0000 (12:21 +0000)
committernotaz <notasas@gmail.com>
Tue, 12 Aug 2008 12:21:10 +0000 (12:21 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@568 be3aeb3a-fb24-0410-a615-afba39da0efa

Pico/sound/ym2612.c

index efe5054..4b64fb4 100644 (file)
@@ -561,6 +561,7 @@ INLINE void FM_KEYON(int c , int s )
                SLOT->key = 1;\r
                SLOT->phase = 0;                /* restart Phase Generator */\r
                SLOT->state = EG_ATT;   /* phase -> Attack */\r
+               SLOT->volume = MAX_ATT_INDEX;    /* fix Ecco 2 splash sound */\r
                ym2612.slot_mask |= (1<<s) << (c*4);\r
        }\r
 }\r