summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/mem.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/mem.js b/js/mem.js
index cfa6698..e10841e 100644
--- a/js/mem.js
+++ b/js/mem.js
@@ -1,3 +1,4 @@
+var global_sptr_addy = 0x150000;
var VECTOR_OFFSET = 0x10;
/*
@@ -146,8 +147,6 @@ function write_str(addy, s) {
return s;
}
-var global_sptr_addy = 0x150000;
-
function sptr(s) {
write_str(global_sptr_addy, s);
global_sptr_addy += s.length;