Initialise GUS timers to 0xff - GUS & Adlib/SB should work together better.
This commit is contained in:
parent
0495c73e4e
commit
ae239603e7
1 changed files with 3 additions and 1 deletions
|
|
@ -1066,7 +1066,9 @@ void *gus_init()
|
|||
gus->voices=14;
|
||||
|
||||
gus->samp_timer = gus->samp_latch = (int)(TIMER_USEC * (1000000.0 / 44100.0));
|
||||
|
||||
|
||||
gus->t1l = gus->t2l = 0xff;
|
||||
|
||||
io_sethandler(0x0240, 0x0010, readgus, NULL, NULL, writegus, NULL, NULL, gus);
|
||||
io_sethandler(0x0340, 0x0010, readgus, NULL, NULL, writegus, NULL, NULL, gus);
|
||||
io_sethandler(0x0746, 0x0001, readgus, NULL, NULL, writegus, NULL, NULL, gus);
|
||||
|
|
|
|||
Loading…
Reference in a new issue