diff options
Diffstat (limited to 'js/mem.js')
| -rw-r--r-- | js/mem.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -145,3 +145,11 @@ 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; + return global_sptr_addy - s.length; +} |
