From d4157309850ce0e58c94d8aa4c60d69e9637bc3c Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 28 Jul 2022 18:10:51 +0200 Subject: [PATCH] Fix wasm not loading plugins in Chrome Signed-off-by: falkTX --- dpf | 2 +- plugins/Common/Makefile.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dpf b/dpf index 1aa5892..ad482c9 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit 1aa5892a13d7797935964443ae7dda6e08c470cd +Subproject commit ad482c91b54ed7622084bf1a58ccc52c03579226 diff --git a/plugins/Common/Makefile.mk b/plugins/Common/Makefile.mk index c055f3c..b9658f4 100644 --- a/plugins/Common/Makefile.mk +++ b/plugins/Common/Makefile.mk @@ -67,6 +67,7 @@ include ../../dpf/Makefile.plugins.mk ifeq ($(WASM),true) # used for testing LINK_FLAGS += -sALLOW_MEMORY_GROWTH +LINK_FLAGS += --use-preload-plugins # LINK_FLAGS += --preload-file=foolme.mp3 # LINK_FLAGS += --preload-file=furelise.mid # LINK_FLAGS += --preload-file=./jsfx