From 68d962fcdb024ce35baff2ef22e710c109f24d29 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 6 Oct 2022 15:37:54 -0500 Subject: [PATCH] FCS: implement more commands --- src/engine/engine.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index c813c4a00..417345e98 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -396,6 +396,15 @@ void writePackedCommandValues(SafeWriter* w, const DivCommand& c) { case DIV_CMD_AY_NOISE_MASK_AND: case DIV_CMD_AY_NOISE_MASK_OR: case DIV_CMD_AY_AUTO_ENVELOPE: + case DIV_CMD_FDS_MOD_DEPTH: + case DIV_CMD_FDS_MOD_HIGH: + case DIV_CMD_FDS_MOD_LOW: + case DIV_CMD_FDS_MOD_POS: + case DIV_CMD_FDS_MOD_WAVE: + case DIV_CMD_SAA_ENVELOPE: + case DIV_CMD_AMIGA_FILTER: + case DIV_CMD_AMIGA_AM: + case DIV_CMD_AMIGA_PM: w->writeC(1); // length w->writeC(c.value); break; @@ -426,6 +435,7 @@ void writePackedCommandValues(SafeWriter* w, const DivCommand& c) { break; case DIV_CMD_C64_FINE_DUTY: case DIV_CMD_C64_FINE_CUTOFF: + case DIV_CMD_LYNX_LFSR_LOAD: w->writeC(2); // length w->writeS(c.value); break;