Create src/lib
This commit is contained in:
parent
4cb229e472
commit
d3823b9455
5
Makefile
5
Makefile
|
@ -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 --
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue