Initialise GUS timers to 0xff - GUS & Adlib/SB should work together better.

This commit is contained in:
TomW 2013-10-22 19:42:20 +01:00
commit ae239603e7

View file

@ -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);