Added support for PSG white noise.

This commit is contained in:
luigi__ 2009-01-29 14:34:28 +00:00
parent a87501a235
commit 18fa16d748
2 changed files with 1507 additions and 1467 deletions

File diff suppressed because it is too large Load Diff

View File

@ -45,6 +45,7 @@ extern SoundInterface_struct SNDFile;
struct channel_struct struct channel_struct
{ {
int num;
u8 vol; u8 vol;
u8 datashift; u8 datashift;
u8 hold; u8 hold;
@ -65,6 +66,8 @@ struct channel_struct
int lastsampcnt; int lastsampcnt;
s16 pcm16b, pcm16b_last; s16 pcm16b, pcm16b_last;
int index; int index;
u16 x;
s16 psgnoise_last;
} ; } ;
class SPU_struct class SPU_struct