diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt index ba76d35..17fa0b3 100644 --- a/cli/CMakeLists.txt +++ b/cli/CMakeLists.txt @@ -13,22 +13,10 @@ add_executable(gb6 ../src/lcd.c ../src/rom.c emulator.c - gl3w.c - imgui.cpp - imgui_demo.cpp - imgui_draw.cpp - imgui_impl_glfw.cpp - imgui_impl_opengl3.cpp - imgui_widgets.cpp - main.cpp ) target_link_libraries(gb6 - glfw3 - "-framework CoreFoundation" - "-framework OpenGL" - "-framework Cocoa" - "-framework IOKit" - "-framework CoreVideo" +# glfw3 +# "-framework OpenGL" ) diff --git a/cli/emulator.c b/cli/emulator.c index 0c1d5f1..9f680b3 100644 --- a/cli/emulator.c +++ b/cli/emulator.c @@ -5,7 +5,7 @@ #include "rom.h" #include "lcd.h" -int cli_main(int argc, char *argv[]) +int main(int argc, char *argv[]) { struct cpu cpu; struct rom rom;