()
| 64 | } |
| 65 | |
| 66 | function start() { |
| 67 | update_framebuffer(320, 200, new Uint8Array(320*200*4), 0, 200); |
| 68 | let cfg_file = typeof embedded_files["vm_32.cfg"] === "undefined" ? "vm_64.cfg" : "vm_32.cfg"; |
| 69 | var args = [`file:///${cfg_file}`, 128, "", null, 0, 0, 1, ""]; |
| 70 | Module.ccall("vm_start", null, ["string", "number", "string", "string", "number", "number", "number", "string"], args); |
| 71 | } |
| 72 | |
| 73 | function round_float(num, s) { |
| 74 | let multiplier = Math.pow(10, s); |
nothing calls this directly
no test coverage detected