aboutsummaryrefslogtreecommitdiff
path: root/sdl/main.c
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-12-27 09:42:44 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-12-27 09:42:44 +0900
commit6775ab6c61b65e44d05eca4ffae488d9147ee31f (patch)
treecf7733196eeed3c66692b683cbbfedd86ba442ab /sdl/main.c
parent89dea5438266ef3389e5e86310d778c64bb6b59c (diff)
parent00f1d8d6cacf48139b976f3a25c040d51e1abe74 (diff)
merge sdl fix
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);