Skip to content

Commit

Permalink
sdl: update minigb-apu
Browse files Browse the repository at this point in the history
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
  • Loading branch information
deltabeard committed Feb 1, 2025
1 parent 1abafbd commit 6bbeb33
Show file tree
Hide file tree
Showing 5 changed files with 299 additions and 232 deletions.
2 changes: 1 addition & 1 deletion examples/sdl2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ADD_COMPILE_DEFINITIONS(ICON_FILE=${CMAKE_SOURCE_DIR}/meta/icon.ico)

IF(${ENABLE_SOUND})
ADD_COMPILE_DEFINITIONS(ENABLE_SOUND=1)
ADD_COMPILE_DEFINITIONS(ENABLE_SOUND_MINIGB)
ADD_COMPILE_DEFINITIONS(ENABLE_SOUND_MINIGB MINIGB_APU_AUDIO_FORMAT_S16SYS)
ELSE()
ADD_COMPILE_DEFINITIONS(ENABLE_SOUND=0)
ENDIF()
Expand Down
2 changes: 1 addition & 1 deletion examples/sdl2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CPPFLAGS := -DCOMPANY=Deltabeard \
-DLICENSE="$(LICENSE_SPDX)" \
-DNAME="$(NAME)" \
-DICON_FILE=./meta/icon.ico \
-DENABLE_SOUND -DENABLE_SOUND_MINIGB
-DENABLE_SOUND -DENABLE_SOUND_MINIGB -DMINIGB_APU_AUDIO_FORMAT_S16SYS

OPT := -O2 -Wall -Wextra
CFLAGS := $(OPT) $(shell sdl2-config --cflags)
Expand Down
Loading

0 comments on commit 6bbeb33

Please sign in to comment.