Changed EFxx to EExx at request of tildearrow

This commit is contained in:
MooingLemur 2023-07-05 15:29:11 -07:00
parent fba48149a5
commit a8a02b9ebb
5 changed files with 5 additions and 5 deletions

View file

@ -236,7 +236,7 @@ enum DivDispatchCmds {
DIV_CMD_NES_LINEAR_LENGTH,
DIV_CMD_SYNC_MESSAGE, // (value)
DIV_CMD_EXTERNAL, // (value)
DIV_ALWAYS_SET_VOLUME, // () -> alwaysSetVol

View file

@ -416,7 +416,7 @@ int DivPlatformVERA::dispatch(DivCommand c) {
case DIV_CMD_MACRO_ON:
chan[c.chan].std.mask(c.value,false);
break;
case DIV_CMD_SYNC_MESSAGE:
case DIV_CMD_EXTERNAL:
rWriteZSMSync(c.value);
break;
case DIV_ALWAYS_SET_VOLUME:

View file

@ -236,7 +236,7 @@ const char* cmdName[]={
"NES_LINEAR_LENGTH",
"SYNC_MESSAGE",
"EXTERNAL",
"ALWAYS_SET_VOLUME"
};
@ -915,6 +915,7 @@ void DivEngine::processRow(int i, bool afterDelay) {
//printf("\x1b[1;36m%d: extern command %d\x1b[m\n",i,effectVal);
extValue=effectVal;
extValuePresent=true;
dispatchCmd(DivCommand(DIV_CMD_EXTERNAL,effectVal));
break;
case 0xef: // global pitch
globalPitch+=(signed char)(effectVal-0x80);

View file

@ -1460,7 +1460,6 @@ void DivEngine::registerSystems() {
{
{0x20, {DIV_CMD_WAVE, "20xx: Set waveform"}},
{0x22, {DIV_CMD_STD_NOISE_MODE, "22xx: Set duty cycle (0 to 3F)"}},
{0xEF, {DIV_CMD_SYNC_MESSAGE, "EFxx: ZSM sync event"}},
}
);