Skip to content

Commit

Permalink
Let device resets clear the screen dump state.
Browse files Browse the repository at this point in the history
  • Loading branch information
PoneyClairDeLune committed Jul 11, 2024
1 parent 703928b commit 9ca236c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/disp/disp_sc8850.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ let Sc8850Display = class extends RootDisplay {
getDebugState() && console.debug(`Scheduled a SysEx prompt.`);
});
upThis.device.addEventListener("reset", (ev) => {
upThis.#dumpExpire = 0;
upThis.#bmdb.fill(0);
});
upThis.device.addEventListener("screen", (ev) => {
Expand Down

0 comments on commit 9ca236c

Please sign in to comment.