diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-12-27 09:42:44 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-12-27 09:42:44 +0900 |
commit | 6775ab6c61b65e44d05eca4ffae488d9147ee31f (patch) | |
tree | cf7733196eeed3c66692b683cbbfedd86ba442ab /sdl/main.c | |
parent | 89dea5438266ef3389e5e86310d778c64bb6b59c (diff) | |
parent | 00f1d8d6cacf48139b976f3a25c040d51e1abe74 (diff) |
merge sdl fix
Diffstat (limited to 'sdl/main.c')
-rw-r--r-- | sdl/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |