From 3bdcba025f7e5e321cd91397194eecb0c5fd7241 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Mon, 12 Feb 2018 15:10:39 +0900 Subject: [PATCH] Fix --- Makefile.emscripten | 2 +- emscripten/library.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.emscripten b/Makefile.emscripten index 864943e..974ba2f 100644 --- a/Makefile.emscripten +++ b/Makefile.emscripten @@ -31,7 +31,7 @@ out/xsystem35.js: emterpretify_whitelist src/xsystem35 out out/xsystem35.asm.js: emterpretify_whitelist src/xsystem35 out $(CC) xsystem35.bc $(LFLAGS) $(ASMJSFLAGS) @emterpretify_whitelist -o $@ -emterpretify_whitelist: xsystem35.bc +emterpretify_whitelist: $(CC) $(EMPORTS) -s EMTERPRETIFY=1 -s EMTERPRETIFY_ADVISE=1 $(SYNCLIST) xsystem35.bc |grep EMTERPRETIFY_WHITELIST > $@ src/xsystem35: src src/Makefile diff --git a/emscripten/library.js b/emscripten/library.js index 9d51181..d95bc90 100644 --- a/emscripten/library.js +++ b/emscripten/library.js @@ -20,7 +20,7 @@ mergeInto(LibraryManager.library, { return xsystem35.audio.pcm_load_mixlr(slot, noL, noR); }, muspcm_start: function(slot, loop) { - return xsystem35.audio.pcm_start($slot, loop); + return xsystem35.audio.pcm_start(slot, loop); }, muspcm_stop: function(slot) { return xsystem35.audio.pcm_stop(slot);