From 29d736aecc5db0deb67053931e5b1cf03a9defc3 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 12 Jan 2025 12:13:56 +0100 Subject: f32 colors; g_ prefix --- index.htm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'index.htm') diff --git a/index.htm b/index.htm index b529d83..ed5ff78 100644 --- a/index.htm +++ b/index.htm @@ -62,7 +62,9 @@ }, } ).then((program) => { - program.exports.js_main(options.processorOptions.href); + program.exports.js_main( + options.processorOptions.href // FIXME + ); this.memory_buffer = program.exports.memory.buffer; this.sound_buffer_address = program.exports.js_sound_buffer(); @@ -497,7 +499,7 @@ sound_node.port.postMessage({ id : "paste", - bytes : new TextEncoder("utf-8").encode(ev.clipboardData.getData("text")), + bytes : new TextEncoder("utf8").encode(ev.clipboardData.getData("text")), mod : paste_mod, key : KEY_PASTE, ch : paste_ch, -- cgit v1.2.3