Sound Blaster Write Buffer Status register now set to full on data write and cleared after a short wait - sound in Crystal Dream no longer cuts off after the first few seconds.
This commit is contained in:
parent
57e2a4d678
commit
27545dbd62
2 changed files with 19 additions and 5 deletions
|
|
@ -22,8 +22,6 @@ typedef struct sb_dsp_t
|
|||
|
||||
int sb_freq;
|
||||
|
||||
int writebusy; /*Needed for Amnesia*/
|
||||
|
||||
int16_t sbdat;
|
||||
int sbdat2;
|
||||
int16_t sbdatl, sbdatr;
|
||||
|
|
@ -57,6 +55,8 @@ typedef struct sb_dsp_t
|
|||
|
||||
int asp_data_len;
|
||||
|
||||
int wb_time, wb_full;
|
||||
|
||||
int16_t buffer[SOUNDBUFLEN * 2];
|
||||
int pos;
|
||||
} sb_dsp_t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue