more MBC3 work

This commit is contained in:
2026-03-17 01:46:28 -07:00
parent 037ba0c76d
commit 80e23312de
3 changed files with 48 additions and 69 deletions

View File

@@ -19,7 +19,11 @@ add_executable(GameBoy++ src/main.cpp
src/testing.hpp
src/joypad.cpp
)
target_compile_options(GameBoy++ PRIVATE -O2)
target_link_libraries(GameBoy++ ${SDL2_LIBRARIES})
target_compile_options(GameBoy++ PRIVATE
$<$<CONFIG:Release>:-O2>
)
if(CMAKE_EXPORT_COMPILE_COMMANDS)
add_custom_target(copy_compile_commands ALL