Skip to content

Commit

Permalink
NXDK: Temporarily disable audio
Browse files Browse the repository at this point in the history
Disabled for now because SDL_audiolib fails to link
because NXDK does not support exception at all (and so does not have
std::terminate): realnc/SDL_audiolib#36

SDL_audiolib only has one line of code that uses exceptions
in the entire codebase so hopefully this can be fixed.
  • Loading branch information
glebm committed Jul 4, 2022
1 parent 4bc084e commit b90c286
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMake/platforms/xbox_nxdk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ set(NONET ON)
set(ASAN OFF)
set(UBSAN OFF)

# Temporary workaround for https://github.com/realnc/SDL_audiolib/issues/36
set(NOSOUND ON)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/xbox_nxdk/finders")

set(DEVILUTIONX_SYSTEM_BZIP2 OFF)
Expand Down

0 comments on commit b90c286

Please sign in to comment.