Fix memory check

Signed-off-by: Chris Cromer <chris@cromer.cl>
This commit is contained in:
Chris Cromer 2019-03-28 14:54:42 -03:00
parent 7e7063d71d
commit 408bf02b89
3 changed files with 5 additions and 5 deletions

View File

@ -36,6 +36,6 @@
<allow-intent href="itms-apps:*" />
</platform>
<plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
<engine name="android" spec="^7.1.4" />
<engine name="browser" spec="^5.0.4" />
<engine name="android" spec="^7.1.4" />
</widget>

View File

@ -21,8 +21,8 @@
"cordova-plugin-splashscreen": {}
},
"platforms": [
"android",
"browser"
"browser",
"android"
]
}
}
}

View File

@ -791,7 +791,7 @@ document.addEventListener('DOMContentLoaded', function () {
}
}
else if (syntax.type == "memory") {
if ($scope.check_memory_address(value) == true) {
if ($scope.check_memory_address(value) == true && $scope.check_memory_value(value) == true) {
value = parseFloat($scope.memory[value - 80]);
var new_value;
if (value < 0) {