Commit 2bc3d031 authored by Martin Pépin's avatar Martin Pépin
Browse files

Seems to fix something

parent 4aa0428a
......@@ -10,8 +10,9 @@ module Env = struct
let init asm_file ram_size rom_size =
let rom = Ram.init rom_size in
if String.length asm_file > 0 then
ignore @@ Asm_compile.compile rom asm_file;
if String.length asm_file > 0 then begin
let (len:int) = Asm_compile.compile rom asm_file in
ignore len end;
{
vars = Hashtbl.create 17 ;
regs = Hashtbl.create 17 ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment