Skip to content

Commit

Permalink
Octavia MU now uses the new bitmaps.
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed Nov 25, 2024
1 parent 36a1fba commit 45e0e4e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/disp/disp_mu.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,23 @@ let MuDisplay = class extends RootDisplay {
let standard = upThis.getChVoice(upThis.#ch).standard.toLowerCase();
useBm = upThis.voxBm.getBm(upThis.getChVoice(upThis.#ch).name) || upThis.voxBm.getBm(upThis.getVoice(sum.chContr[chOff] + ccToPos[0], sum.chProgr[upThis.#ch], 0, sum.mode).name);
if (["an", "ap", "dr", "dx", "pc", "pf", "sg", "vl"].indexOf(standard) > -1) {
useBm = upThis.sysBm.getBm(`ext_${standard}`);
switch ((sum.chContr[chOff] + ccToPos[0]) >> 4) {
case 2: {
// Internal
useBm = upThis.sysBm.getBm(`ext_${standard}I`);
break;
};
case 6: {
// XG-proxy (XG-B)
useBm = upThis.sysBm.getBm(`ext_${standard}P`);
break;
};
default: {
// Should be XG Non-proxy (XG-A)
useBm = upThis.sysBm.getBm(`ext_${standard}`);
break;
};
};
} else if (sum.chType[upThis.#ch]) {
useBm = upThis.sysBm.getBm(`cat_drm`);
} else if (["mu", "es"]. indexOf(standard) > -1) {
Expand Down

0 comments on commit 45e0e4e

Please sign in to comment.