diff --git a/configure.py b/configure.py index 0241db58..b481c13b 100644 --- a/configure.py +++ b/configure.py @@ -760,7 +760,7 @@ config.libs = [ Object(Matching, "jaudio_NES/internal/aramcall.c"), Object(Matching, "jaudio_NES/internal/audioconst.c"), Object(Matching, "jaudio_NES/internal/audiotable.c"), - Object(NonMatching, "jaudio_NES/internal/audiowork.c"), + Object(Matching, "jaudio_NES/internal/audiowork.c"), Object(Matching, "jaudio_NES/internal/bankdrv.c", extra_cflags=["-pragma \"scheduling 7400\""]), Object(Matching, "jaudio_NES/internal/bankread.c"), Object(Matching, "jaudio_NES/internal/centcalc.c"), diff --git a/src/static/jaudio_NES/internal/audiowork.c b/src/static/jaudio_NES/internal/audiowork.c new file mode 100644 index 00000000..44a4d6d3 --- /dev/null +++ b/src/static/jaudio_NES/internal/audiowork.c @@ -0,0 +1,8 @@ +#include "jaudio_NES/audiowork.h" + +AudioGlobals AG; +VFRAME_CALLBACK NA_VFRAME_CALLBACK; +SequenceCallback NA_CALLBACK; +GRP_CALLBACK NA_GRP_CALLBACK; +SOUND_CALLBACK NA_SOUND_CALLBACK; +DACOUT_CALLBACK NA_DACOUT_CALLBACK;