From 1863703203256ced67589783ab38aefb334ae8c8 Mon Sep 17 00:00:00 2001 From: AArt1256 Date: Sat, 10 Aug 2024 14:43:48 +0300 Subject: [PATCH] added sample maps? --- src/engine/platform/supervision.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/platform/supervision.cpp b/src/engine/platform/supervision.cpp index 8788a57d0..140c32265 100644 --- a/src/engine/platform/supervision.cpp +++ b/src/engine/platform/supervision.cpp @@ -283,6 +283,10 @@ int DivPlatformSupervision::dispatch(DivCommand c) { if (c.value!=DIV_NOTE_NULL) { chan[c.chan].sample=ins->amiga.getSample(c.value); chan[c.chan].sampleNote=c.value; + if (c.chan==2) { + c.value=ins->amiga.getFreq(c.value); + chan[c.chan].sampleNote=c.value; + } } } else { chan[c.chan].sampleNote=DIV_NOTE_NULL;