-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added: - deko3d imgui backend (thanks ftpd) - controller input support see #70
- Loading branch information
1 parent
af798af
commit 3b15899
Showing
17 changed files
with
1,662 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
cmake_minimum_required(VERSION 3.20.0) | ||
|
||
add_subdirectory(sdl2) | ||
if (NINTENDO_SWITCH) | ||
add_subdirectory(nx) | ||
else() | ||
add_subdirectory(sdl2) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
cmake_minimum_required(VERSION 3.20.0) | ||
|
||
add_library(backend | ||
backend_nx.cpp | ||
ftpd_imgui/imgui_deko3d.cpp | ||
ftpd_imgui/imgui_nx.cpp | ||
) | ||
|
||
target_link_libraries(backend PRIVATE imgui) | ||
target_link_libraries(backend PRIVATE GBA) | ||
target_link_libraries(backend PRIVATE deko3dd) | ||
|
||
# why is this even needed??? | ||
target_include_directories(backend PRIVATE ${DEVKITPRO}/portlibs/switch/include) | ||
|
||
target_apply_lto_in_release(backend) |
Oops, something went wrong.