diff options
| author | Ian C <ianc@noddybox.co.uk> | 2026-06-26 14:46:30 +0100 |
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2026-06-26 14:46:30 +0100 |
| commit | c31b779c20638ce25f11489c445a53798a663b13 (patch) | |
| tree | dd4b3b423369d1ee25664221fa0f525002ea9414 /src/main.c | |
| parent | fe0ec0f56d2679f52bd68273b058f3c081b20972 (diff) | |
Fixed bad header guard on audio.h
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -37,6 +37,7 @@ #include "exit.h" #include "tape.h" #include "util.h" +#include "audio.h" /* ---------------------------------------- MACROS @@ -87,6 +88,14 @@ int main(int argc, char *argv[]) GFXInit(); + if (IConfig(CONF_SOUND)) + { + if (!AUDIOInit()) + { + fprintf(stderr, "warning: couldn't initialise audio\n"); + } + } + SPECInit(z80); white=GFXRGB(255,255,255); |
