mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
Check for older cores
This commit is contained in:
parent
8a93ce592a
commit
5d985fd239
1 changed files with 5 additions and 1 deletions
|
@ -4579,7 +4579,11 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) {
|
||||||
_this.volume < 1 && (_0x17edbf = 0 === _this.volume ? -0x50 : 0x1e * _this.volume - 0x1e, _0x2c1832(_0x17edbf)), _this.muted && (_0x17edbf = -0x50), _0x2c1832(_0x17edbf);
|
_this.volume < 1 && (_0x17edbf = 0 === _this.volume ? -0x50 : 0x1e * _this.volume - 0x1e, _0x2c1832(_0x17edbf)), _this.muted && (_0x17edbf = -0x50), _0x2c1832(_0x17edbf);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
_0x378b5c.getSaveFilePath = _0x27f4c4.Module.cwrap('save_file_path', 'string', []);
|
if (_0x27f4c4.Module._save_file_path) {
|
||||||
|
_0x378b5c.getSaveFilePath = _0x27f4c4.Module.cwrap('save_file_path', 'string', []);
|
||||||
|
} else {
|
||||||
|
_0x378b5c.getSaveFilePath = () => null;
|
||||||
|
}
|
||||||
// Returns a Uint8Array of the save file
|
// Returns a Uint8Array of the save file
|
||||||
_0x378b5c.readSaveFile = function() {
|
_0x378b5c.readSaveFile = function() {
|
||||||
return FS.readFile(_0x378b5c.getSaveFilePath());
|
return FS.readFile(_0x378b5c.getSaveFilePath());
|
||||||
|
|
Loading…
Reference in a new issue