From 999266070851f1c497cbca739c36a1063fcd9e5b Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 7 Nov 2025 19:18:56 -0500 Subject: [PATCH] prepare for nuking legacy sample mode --- src/engine/engine.cpp | 2 -- src/engine/sysDef.cpp | 5 ----- 2 files changed, 7 deletions(-) diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 0f1c30822..6d47bd628 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -130,8 +130,6 @@ const char* DivEngine::getEffectDesc(unsigned char effect, int chan, bool notNul return _("E9xy: Quick legato down (x: time; y: semitones)"); case 0xea: return _("EAxx: Legato"); - case 0xeb: - return _("EBxx: Set LEGACY sample mode bank"); case 0xec: return _("ECxx: Note cut"); case 0xed: diff --git a/src/engine/sysDef.cpp b/src/engine/sysDef.cpp index b85026d4d..9f00cb7cf 100644 --- a/src/engine/sysDef.cpp +++ b/src/engine/sysDef.cpp @@ -465,7 +465,6 @@ void DivEngine::registerSystems() { EffectHandlerMap fmOPN2EffectHandlerMap(fmEffectHandlerMap); fmOPN2EffectHandlerMap.insert({ - {0x17, {DIV_CMD_SAMPLE_MODE, _("17xx: Toggle PCM mode (LEGACY)")}}, {0xdf, {DIV_CMD_SAMPLE_DIR, _("DFxx: Set sample playback direction (0: normal; 1: reverse)")}}, }); @@ -884,7 +883,6 @@ void DivEngine::registerSystems() { {0x11, {DIV_CMD_STD_NOISE_MODE, _("11xx: Toggle noise mode")}}, {0x12, {DIV_CMD_PCE_LFO_MODE, _("12xx: Setup LFO (0: disabled; 1: 1x depth; 2: 16x depth; 3: 256x depth)")}}, {0x13, {DIV_CMD_PCE_LFO_SPEED, _("13xx: Set LFO speed")}}, - {0x17, {DIV_CMD_SAMPLE_MODE, _("17xx: Toggle PCM mode (LEGACY)")}} } ); @@ -1149,7 +1147,6 @@ void DivEngine::registerSystems() { {DIV_INS_AMIGA, DIV_INS_AMIGA, DIV_INS_NULL}, { {0x12, {DIV_CMD_STD_NOISE_MODE, _("12xx: Set duty cycle (pulse: 0 to 7)")}}, - {0x17, {DIV_CMD_SAMPLE_MODE, _("17xx: Toggle PCM mode (LEGACY)")}}, } ); @@ -1403,7 +1400,6 @@ void DivEngine::registerSystems() { {0x11, {DIV_CMD_STD_NOISE_MODE, _("11xx: Setup noise mode (0: disabled; 1-8: enabled/tap)")}}, {0x12, {DIV_CMD_WS_SWEEP_TIME, _("12xx: Setup sweep period (0: disabled; 1-20: enabled/period)")}}, {0x13, {DIV_CMD_WS_SWEEP_AMOUNT, _("13xx: Set sweep amount")}}, - {0x17, {DIV_CMD_SAMPLE_MODE, _("17xx: Toggle PCM mode (LEGACY)")}}, }, { {0x20, {DIV_CMD_WS_GLOBAL_SPEAKER_VOLUME, _("20xx: Set internal speaker loudness (0-1: 100%, 2-3: 200%, 4-7: 400%, 8: 800%)")}}, @@ -1728,7 +1724,6 @@ void DivEngine::registerSystems() { {0x10, {DIV_CMD_WAVE, _("10xx: Set waveform")}}, {0x11, {DIV_CMD_X1_010_ENVELOPE_SHAPE, _("11xx: Set envelope shape")}}, {0x12, {DIV_CMD_X1_010_SAMPLE_BANK_SLOT, _("12xx: Set sample bank slot (0 to 7)")}}, - {0x17, {DIV_CMD_SAMPLE_MODE, _("17xx: Toggle PCM mode (LEGACY)")}}, }, { {0x20, {DIV_CMD_SAMPLE_FREQ, _("20xx: Set PCM frequency (1 to FF)")}},