summaryrefslogtreecommitdiff
path: root/index.htm
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2025-01-12 12:13:56 +0100
committerMitya Selivanov <automainint@guattari.tech>2025-01-12 12:13:56 +0100
commit29d736aecc5db0deb67053931e5b1cf03a9defc3 (patch)
tree50caf18887aeda07b24bee5d4143130f8546aff7 /index.htm
parent464575c72a8a20b5e565f91cebfeb470edc8542e (diff)
downloadreduced_system_layer-29d736aecc5db0deb67053931e5b1cf03a9defc3.zip
f32 colors; g_ prefix
Diffstat (limited to 'index.htm')
-rw-r--r--index.htm6
1 files changed, 4 insertions, 2 deletions
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,