Browse Source

Fix memory check

Signed-off-by: Chris Cromer <chris@cromer.cl>
Chris Cromer 3 months ago
parent
commit
408bf02b89
3 changed files with 5 additions and 5 deletions
  1. 1
    1
      config.xml
  2. 3
    3
      package.json
  3. 1
    1
      www/scripts/jvon-interpret.js

+ 1
- 1
config.xml View File

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

+ 3
- 3
package.json View File

@@ -21,8 +21,8 @@
21 21
             "cordova-plugin-splashscreen": {}
22 22
         },
23 23
         "platforms": [
24
-            "android",
25
-            "browser"
24
+            "browser",
25
+            "android"
26 26
         ]
27 27
     }
28
-}
28
+}

+ 1
- 1
www/scripts/jvon-interpret.js View File

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

Loading…
Cancel
Save