Extended mode toggle

This commit is contained in:
Cacodemon345
2024-03-02 17:41:51 +06:00
committed by Kagamiin~
parent 4369284f65
commit 3f7fbc7467
2 changed files with 8 additions and 0 deletions

View File

@@ -610,6 +610,13 @@ sb_exec_command(sb_dsp_t *dsp)
if (dsp->sb_type >= SB16)
dsp->sb_8051_ram[0x20] = dsp->sb_command;
if (IS_ESS(dsp)) {
if (dsp->sb_command == 0xC6 || dsp->sb_command == 0xC7){
dsp->ess_extended_mode = !!(dsp->sb_command == 0xC6);
return;
}
}
switch (dsp->sb_command) {
case 0x01: /* ???? */
if (dsp->sb_type >= SB16)