Browse Source

Ecco splash sound fix?

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@568 be3aeb3a-fb24-0410-a615-afba39da0efa
notaz 15 years ago
parent
commit
a6e5aa4181
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Pico/sound/ym2612.c

+ 1 - 0
Pico/sound/ym2612.c

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