diff --git a/examples/web/index.ts b/examples/web/index.ts index 1ed3e5a0274692ccb86d9bed75bb2d79f98d61ae..f4a375a8180f8c475e5265bf824c9e60e1af99c6 100644 --- a/examples/web/index.ts +++ b/examples/web/index.ts @@ -157,9 +157,9 @@ const main = async () => { const isPanic = err.message === "unreachable"; if (isPanic) { await wasm(); - await start({}); - clearCanvas(PIXEL_ERROR_COLOR); - message = "Unrecoverable error, executing low level"; + await start(); + clearCanvas(); + message = "Unrecoverable error, restarting CHIP-8"; } // pauses the machine, allowing the end-user to act