diff options
author | Can | 2025-01-12 13:57:11 +0100 |
---|---|---|
committer | Can | 2025-01-12 13:57:11 +0100 |
commit | f54eb0b9890062e5757297b7a3a013df23ae79d7 (patch) | |
tree | eea74f22a2e5eb38d2b9599fb8fcc324acfb32fa /src/main.effekt | |
parent | a231a01f798d8f7f6188de8f2ae78e9d7a10dd4c (diff) |
feat: got renderer working with cpu
Diffstat (limited to 'src/main.effekt')
-rw-r--r-- | src/main.effekt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main.effekt b/src/main.effekt index 446f2ed..627ae8e 100644 --- a/src/main.effekt +++ b/src/main.effekt @@ -8,11 +8,9 @@ import bytearray def main(): Unit = { // Using the JS backend def r = JSRenderer::makeRenderer - try { - r.init() - } with start { rom => - log("ROM loaded to the functionnn!") - resume(()) + def test(rom: ByteArray) = { + cpu::run(rom) {r} } + r.init(test) () }
\ No newline at end of file |