n64 beta core?\!

This commit is contained in:
Ethan O'Brien 2022-08-02 21:52:55 -05:00
parent 7c68388497
commit 8ab7bb3f49
6 changed files with 10 additions and 42 deletions

BIN
data/cores/n64-wasm.data Normal file

Binary file not shown.

View file

@ -2091,14 +2091,14 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) {
if (_0x2d904a.wasm && _0x3e4345) {
type = 'wasm';
_0x2458d5 = true;
if ('n64' === _this.system && !_0x2eb141) {
if ('n64' === _this.system && !_0x2eb141 && _this.coreVer !== 2) {
type = 'legacy-wasm';
}
_0x31a5b3 = true;
} else if (_0x9a1f1) {
_0x2458d5 = true;
type = 'asmjs';
if ('n64' === _this.system && !_0x2eb141) {
if ('n64' === _this.system && !_0x2eb141 && _this.coreVer !== 2) {
type = 'legacy-asmjs';
}
}
@ -6265,7 +6265,7 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) {
return 2;
}*/
if (useBeta === true && window.WebAssembly) {
var supportedCores = ['nes', 'snes', 'gb', 'nds'];
var supportedCores = ['nes', 'snes', 'gb', 'nds', 'n64'];
return supportedCores.includes(core) ? 2 : 1;
}
return 1;
@ -6516,4 +6516,4 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) {
}();
_0x3dbc76.defaults = {};
_0x17edbf.default = _0x3dbc76;
}
}

1
data/emu-min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,40 +1,8 @@
{
"name": "emulatorjs-minify",
"version": "1.0.0",
"lockfileVersion": 2,
"lockfileVersion": 1,
"requires": true,
"packages": {
"": {
"name": "emulatorjs-minify",
"version": "1.0.0",
"dependencies": {
"uglify-js": "^3.15.3",
"uglifycss": "0.0.29"
}
},
"node_modules/uglify-js": {
"version": "3.15.4",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.4.tgz",
"integrity": "sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==",
"bin": {
"uglifyjs": "bin/uglifyjs"
},
"engines": {
"node": ">=0.8.0"
}
},
"node_modules/uglifycss": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/uglifycss/-/uglifycss-0.0.29.tgz",
"integrity": "sha512-J2SQ2QLjiknNGbNdScaNZsXgmMGI0kYNrXaDlr4obnPW9ni1jljb1NeEVWAiTgZ8z+EBWP2ozfT9vpy03rjlMQ==",
"bin": {
"uglifycss": "uglifycss"
},
"engines": {
"node": ">=6.4.0"
}
}
},
"dependencies": {
"uglify-js": {
"version": "3.15.4",

View file

@ -198,11 +198,12 @@
"wasm": 1
},
"n64": {
"version":"6",
"version":"7",
"netplay": 1,
"state": 1,
"asmjs": 1,
"wasm": 0
"asmjs": 0,
"old": {"wasm":0, "asmjs":1 },
"wasm": 1
},
"nds": {
"version":"11",