Allow loading uncompressed plugin state; Allow patch wasm url

This commit is contained in:
falkTX 2022-08-13 00:01:06 +01:00
parent accf13abbd
commit 19878f0097
5 changed files with 49 additions and 2 deletions

View file

@ -389,9 +389,18 @@ public:
#ifdef DISTRHO_OS_WASM
if (rack::patchStorageSlug != nullptr)
{
psDialog = new WasmPatchStorageLoadingDialog();
}
else if (rack::patchFromURL != nullptr)
{
static_cast<CardinalBasePlugin*>(context->plugin)->setState("patch", rack::patchFromURL);
rack::contextSet(context);
}
else
{
new WasmWelcomeDialog();
}
#endif
context->window->step();