From bba0b79e286a7b7e64febb8bef7835336a522bbf Mon Sep 17 00:00:00 2001 From: spv420 Date: Sat, 23 Apr 2022 18:38:28 -0400 Subject: functional programming ftw! --- src/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/js/main.js') diff --git a/src/js/main.js b/src/js/main.js index c3f5c7d..b67ba34 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -34,8 +34,8 @@ function main() { init_sptr_heap(); - calls4arg("puts\0", sptr("we out here\0"), 0, 0, 0); - calls4arg("puts\0", sptr("I came through a portal holding a 40 and a blunt. Do you really wanna test me right now?\0"), 0, 0, 0); + puts("we out here\0"); + puts("I came through a portal holding a 40 and a blunt. Do you really wanna test me right now?\0"); log("slide=0x" + slide.toString(16)); log("*(uint8_t*)base = 0x" + read_u8(base).toString(16)); -- cgit v1.2.3