wait for audio ready before starting cart, add button to unsuspend audio

fixes missing sound when auto-starting cart in chrome
This commit is contained in:
2022-03-06 14:08:44 +01:00
parent 0d514c7dd3
commit 2033f9a172
5 changed files with 52 additions and 8 deletions

View File

@@ -12,6 +12,7 @@ let uw8 = MicroW8(document.getElementById('screen'), {
setMessage,
keyboardElement: window,
timerElement: document.getElementById("timer"),
startButton: document.getElementById("start")
});
function runModuleFromHash() {