Skip to content

Commit 52a7d1f

Browse files
committed
Fix libatari800 sound support in minimal Makefile
- Remove NOSOUND flag to preserve sound capability in Fujisan - Add src/pokeysnd.o and src/sound.o to object files - Define SOUND=1 instead of NOSOUND=1 - Ensures full sound functionality is preserved in the emulator - Fixes undefined POKEYSND_stereo_enabled and Sound_desired symbols
1 parent f02dd08 commit 52a7d1f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/create-minimal-makefile.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cat > Makefile << 'EOF'
2121
2222
CC = gcc
2323
AR = ar
24-
CFLAGS = -O2 -DHAVE_CONFIG_H -I. -Isrc -DTARGET_LIBATARI800 -DNETSIO -DNOSOUND -DNO_SIMPLE_MENU
24+
CFLAGS = -O2 -DHAVE_CONFIG_H -I. -Isrc -DTARGET_LIBATARI800 -DNETSIO
2525
ARFLAGS = rcs
2626
2727
LIBATARI800_OBJS = \
@@ -37,7 +37,9 @@ LIBATARI800_OBJS = \
3737
src/pbi.o \
3838
src/pia.o \
3939
src/pokey.o \
40+
src/pokeysnd.o \
4041
src/sio.o \
42+
src/sound.o \
4143
src/statesav.o \
4244
src/pbi_mio.o \
4345
src/pbi_bb.o \
@@ -96,8 +98,8 @@ cat > src/config.h << 'EOF'
9698
#define SOUND_INTERPOLATION 1
9799
#define NONLINEAR_MIXING 1
98100
99-
/* Sound system - use no sound for libatari800 */
100-
#define NOSOUND 1
101+
/* Sound system - enable sound for libatari800 */
102+
#define SOUND 1
101103
102104
/* NetSIO support */
103105
#define NETSIO 1

0 commit comments

Comments
 (0)