mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Uncomment version checking code
While not yet released, this issue has been fixed in a previous commit
This commit is contained in:
parent
e486e70181
commit
4bc5a8e871
1 changed files with 2 additions and 3 deletions
|
@ -496,10 +496,9 @@ class EmulatorJS {
|
|||
}, fileCbFunc);
|
||||
}
|
||||
checkCoreCompatibility(version) {
|
||||
// Leave commented until next release - this is ready to go.
|
||||
if (this.versionAsInt(version.minimumEJSVersion) > this.versionAsInt(this.ejs_version)) {
|
||||
//this.startGameError(this.localization("Outdated EmulatorJS version"));
|
||||
//throw new Error("Core requires minimum EmulatorJS version of " + version.minimumEJSVersion);
|
||||
this.startGameError(this.localization("Outdated EmulatorJS version"));
|
||||
throw new Error("Core requires minimum EmulatorJS version of " + version.minimumEJSVersion);
|
||||
}
|
||||
}
|
||||
startGameError(message) {
|
||||
|
|
Loading…
Reference in a new issue