aboutsummaryrefslogtreecommitdiff
path: root/sdl/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/main.c')
-rw-r--r--sdl/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sdl/main.c b/sdl/main.c
index 1fcdd9a..af877d8 100644
--- a/sdl/main.c
+++ b/sdl/main.c
@@ -164,6 +164,11 @@ int main(int argc, char **argv) {
SDL_Quit();
return 1;
}
+ if (!fmdsp_pacc_init(g.fp, pc, &pacc)) {
+ SDL_Log("Cannot initialize fmdsp\n");
+ SDL_Quit();
+ return 1;
+ }
fmdsp_pacc_set(g.fp, &g.work, &g.opna, &g.fftin);
fmplayer_font_rom_load(&g.font16);
fmdsp_pacc_set_font16(g.fp, &g.font16);