@emu198x/zx-spectrum 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -165,8 +165,8 @@ export interface InitOutput {
|
|
|
165
165
|
readonly spectrum_mediaSlots: (a: number) => [number, number];
|
|
166
166
|
readonly spectrum_setAudioEnabled: (a: number, b: number) => void;
|
|
167
167
|
readonly spectrum_tick: (a: number, b: number) => [number, number, number];
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
168
|
+
readonly wasm_bindgen_d6cb7d81ec28c0ae___convert__closures_____invoke___wasm_bindgen_d6cb7d81ec28c0ae___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_d6cb7d81ec28c0ae___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
169
|
+
readonly wasm_bindgen_d6cb7d81ec28c0ae___convert__closures_____invoke___js_sys_e5668971ffde892f___Function_fn_wasm_bindgen_d6cb7d81ec28c0ae___JsValue_____wasm_bindgen_d6cb7d81ec28c0ae___sys__Undefined___js_sys_e5668971ffde892f___Function_fn_wasm_bindgen_d6cb7d81ec28c0ae___JsValue_____wasm_bindgen_d6cb7d81ec28c0ae___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
170
170
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
171
171
|
readonly __externref_table_alloc: () => number;
|
|
172
172
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
package/emu198x_spectrum_web.js
CHANGED
|
@@ -308,7 +308,7 @@ function __wbg_get_imports() {
|
|
|
308
308
|
const a = state0.a;
|
|
309
309
|
state0.a = 0;
|
|
310
310
|
try {
|
|
311
|
-
return
|
|
311
|
+
return wasm_bindgen_d6cb7d81ec28c0ae___convert__closures_____invoke___js_sys_e5668971ffde892f___Function_fn_wasm_bindgen_d6cb7d81ec28c0ae___JsValue_____wasm_bindgen_d6cb7d81ec28c0ae___sys__Undefined___js_sys_e5668971ffde892f___Function_fn_wasm_bindgen_d6cb7d81ec28c0ae___JsValue_____wasm_bindgen_d6cb7d81ec28c0ae___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
312
312
|
} finally {
|
|
313
313
|
state0.a = a;
|
|
314
314
|
}
|
|
@@ -373,7 +373,7 @@ function __wbg_get_imports() {
|
|
|
373
373
|
},
|
|
374
374
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
375
375
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 21, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
376
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
376
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d6cb7d81ec28c0ae___convert__closures_____invoke___wasm_bindgen_d6cb7d81ec28c0ae___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_d6cb7d81ec28c0ae___JsError___true_);
|
|
377
377
|
return ret;
|
|
378
378
|
},
|
|
379
379
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
@@ -397,15 +397,15 @@ function __wbg_get_imports() {
|
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
function
|
|
401
|
-
const ret = wasm.
|
|
400
|
+
function wasm_bindgen_d6cb7d81ec28c0ae___convert__closures_____invoke___wasm_bindgen_d6cb7d81ec28c0ae___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_d6cb7d81ec28c0ae___JsError___true_(arg0, arg1, arg2) {
|
|
401
|
+
const ret = wasm.wasm_bindgen_d6cb7d81ec28c0ae___convert__closures_____invoke___wasm_bindgen_d6cb7d81ec28c0ae___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_d6cb7d81ec28c0ae___JsError___true_(arg0, arg1, arg2);
|
|
402
402
|
if (ret[1]) {
|
|
403
403
|
throw takeFromExternrefTable0(ret[0]);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
function
|
|
408
|
-
wasm.
|
|
407
|
+
function wasm_bindgen_d6cb7d81ec28c0ae___convert__closures_____invoke___js_sys_e5668971ffde892f___Function_fn_wasm_bindgen_d6cb7d81ec28c0ae___JsValue_____wasm_bindgen_d6cb7d81ec28c0ae___sys__Undefined___js_sys_e5668971ffde892f___Function_fn_wasm_bindgen_d6cb7d81ec28c0ae___JsValue_____wasm_bindgen_d6cb7d81ec28c0ae___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
408
|
+
wasm.wasm_bindgen_d6cb7d81ec28c0ae___convert__closures_____invoke___js_sys_e5668971ffde892f___Function_fn_wasm_bindgen_d6cb7d81ec28c0ae___JsValue_____wasm_bindgen_d6cb7d81ec28c0ae___sys__Undefined___js_sys_e5668971ffde892f___Function_fn_wasm_bindgen_d6cb7d81ec28c0ae___JsValue_____wasm_bindgen_d6cb7d81ec28c0ae___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
const SpectrumFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
Binary file
|
package/package.json
CHANGED