From 1a446c1cddd8e96b2f731494e3f0bb390a8bd513 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 22 May 2022 23:54:33 -0500 Subject: [PATCH] Y8950: let's see --- src/engine/platform/opl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/platform/opl.cpp b/src/engine/platform/opl.cpp index 000022bf..312a4d13 100644 --- a/src/engine/platform/opl.cpp +++ b/src/engine/platform/opl.cpp @@ -739,7 +739,7 @@ int DivPlatformOPL::dispatch(DivCommand c) { int end=s->offB+s->lengthB-1; immWrite(11,(end>>5)&0xff); immWrite(12,(end>>13)&0xff); - immWrite(8,1); + immWrite(8,2); immWrite(7,(s->loopStart>=0)?0xb0:0xa0); // start/repeat if (c.value!=DIV_NOTE_NULL) { chan[c.chan].note=c.value; @@ -774,7 +774,7 @@ int DivPlatformOPL::dispatch(DivCommand c) { int end=s->offB+s->lengthB-1; immWrite(11,(end>>2)&0xff); immWrite(12,(end>>10)&0xff); - immWrite(8,1); + immWrite(8,2); immWrite(7,(s->loopStart>=0)?0xb0:0xa0); // start/repeat int freq=(65536.0*(double)s->rate)/(double)rate; immWrite(16,freq&0xff);