Browse Source

Fix memory check

Signed-off-by: Chris Cromer <chris@cromer.cl>
master
Chris Cromer 3 years ago
parent
commit
408bf02b89
  1. 2
      config.xml
  2. 6
      package.json
  3. 2
      www/scripts/jvon-interpret.js

2
config.xml

@ -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>

6
package.json

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

2
www/scripts/jvon-interpret.js

@ -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) {

Loading…
Cancel
Save