@thenick775/mgba-wasm 2.0.0-beta.3 → 2.0.0-beta.5

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.
package/dist/mgba.js CHANGED
@@ -1286,7 +1286,7 @@ var ASM_CONSTS = {
1286
1286
  }
1287
1287
  },
1288
1288
  initMainThread() {
1289
- var pthreadPoolSize = 5;
1289
+ var pthreadPoolSize = 3;
1290
1290
  // Start loading up the Worker pool, if requested.
1291
1291
  while (pthreadPoolSize--) {
1292
1292
  PThread.allocateUnusedWorker();
@@ -12812,7 +12812,6 @@ function assignWasmImports() {
12812
12812
  }
12813
12813
  var wasmExports = await createWasm();
12814
12814
  var ___wasm_call_ctors = () => (___wasm_call_ctors = wasmExports['__wasm_call_ctors'])();
12815
- var _malloc = (a0) => (_malloc = wasmExports['malloc'])(a0);
12816
12815
  var _screenshot = Module['_screenshot'] = (a0) => (_screenshot = Module['_screenshot'] = wasmExports['screenshot'])(a0);
12817
12816
  var _buttonPress = Module['_buttonPress'] = (a0) => (_buttonPress = Module['_buttonPress'] = wasmExports['buttonPress'])(a0);
12818
12817
  var _buttonUnpress = Module['_buttonUnpress'] = (a0) => (_buttonUnpress = Module['_buttonUnpress'] = wasmExports['buttonUnpress'])(a0);
@@ -12841,6 +12840,7 @@ var _loadStateSlot = Module['_loadStateSlot'] = (a0, a1) => (_loadStateSlot = Mo
12841
12840
  var _addCoreCallbacks = Module['_addCoreCallbacks'] = (a0, a1, a2, a3, a4, a5) => (_addCoreCallbacks = Module['_addCoreCallbacks'] = wasmExports['addCoreCallbacks'])(a0, a1, a2, a3, a4, a5);
12842
12841
  var _setupConstants = Module['_setupConstants'] = () => (_setupConstants = Module['_setupConstants'] = wasmExports['setupConstants'])();
12843
12842
  var _main = Module['_main'] = (a0, a1) => (_main = Module['_main'] = wasmExports['main'])(a0, a1);
12843
+ var _malloc = (a0) => (_malloc = wasmExports['malloc'])(a0);
12844
12844
  var _pthread_self = () => (_pthread_self = wasmExports['pthread_self'])();
12845
12845
  var __emscripten_tls_init = () => (__emscripten_tls_init = wasmExports['_emscripten_tls_init'])();
12846
12846
  var _emscripten_builtin_memalign = (a0, a1) => (_emscripten_builtin_memalign = wasmExports['emscripten_builtin_memalign'])(a0, a1);
package/dist/mgba.wasm CHANGED
Binary file