Create src/lib

This commit is contained in:
Fabien Freling 2018-12-28 17:20:48 +01:00
parent 4cb229e472
commit d3823b9455
11 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
all:
dune build src/oboy.exe
dune build src/lib/oboy.exe
core:
dune build src/retroarch
check:
ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --

View file

@ -43,7 +43,7 @@ let rec run (cpu: Cpu.t) (mem: Memory.t) (screen: Screen.t) =
(** Power up sequence
http://bgb.bircd.org/pandocs.htm#powerupsequence *)
let power_up cartridge =
(** Nintendo logo scrolling *)
(* Nintendo logo scrolling *)
if not (Cartridge.check_nintendo_logo cartridge)
then print_endline "Invalid ROM."
else