diff options
| author | spv420 <spv@spv.sh> | 2022-07-31 01:27:08 -0400 |
|---|---|---|
| committer | spv420 <spv@spv.sh> | 2022-07-31 01:27:08 -0400 |
| commit | b1e4ed080148f95bc3037ee2e059e944f3b06ff5 (patch) | |
| tree | d27f4bb09519e9559d9d16806d4dd80cb1b6ced5 /src/js | |
| parent | ddcc0b0bb28954480bec60de1ac068a43a8a7c43 (diff) | |
fix shit
Diffstat (limited to 'src/js')
| -rw-r--r-- | src/js/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/main.js b/src/js/main.js index 066afb7..c6f77f4 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -149,6 +149,7 @@ function main() { var bytes_read = read(fd, stage4_bin, 0x400000); var stage4_bin_buf = read_buf(stage4_bin, bytes_read); var stage4_js_str = ""; + for (var i = 0; i < stage4_bin_buf.length; i++) { stage4_js_str += String.fromCharCode(stage4_bin_buf[i]); } |
