aboutsummaryrefslogtreecommitdiff
path: root/sdl/main.c
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-09-10 14:29:25 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-09-10 14:29:25 +0900
commit30e23cc766d25fb3253f16a0ac93031a933bcd60 (patch)
treeb5a4d3a8edc9e2e19b6d96c69e15615bf3f62689 /sdl/main.c
parent83b5c266bb146698243a56953d8ef82620350ce4 (diff)
fmdsp-pacc: added everything except fft and levelmeter
Diffstat (limited to 'sdl/main.c')
-rw-r--r--sdl/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl/main.c b/sdl/main.c
index 01c2437..410ed88 100644
--- a/sdl/main.c
+++ b/sdl/main.c
@@ -51,7 +51,6 @@ static void openfile(const char *path) {
g.fmfile = file;
fmplayer_init_work_opna(&g.work, &g.ppz8, &g.opna, &g.timer, &g.adpcmram);
fmplayer_file_load(&g.work, g.fmfile, 1);
- fmdsp_pacc_set(g.fp, &g.work, &g.opna);
SDL_UnlockAudioDevice(g.adev);
SDL_PauseAudioDevice(g.adev, 0);
}
@@ -141,6 +140,7 @@ int main(int argc, char **argv) {
SDL_Quit();
return 1;
}
+ fmdsp_pacc_set(g.fp, &g.work, &g.opna);
SDL_EventState(SDL_DROPFILE, SDL_ENABLE);