1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 08:06:04 +02:00

wasm improvements

This commit is contained in:
Brian Fiete 2022-03-24 11:59:00 -07:00
parent 17b29c7227
commit 474454382f
6 changed files with 257 additions and 22 deletions

View file

@ -1061,16 +1061,16 @@ namespace IDE
public class WasmOptions
{
[Reflect]
public bool mEnableThreads = true;
public bool mEnableThreads = false;
public void Deserialize(StructuredData data)
{
mEnableThreads = data.GetBool("EnableThreads", true);
mEnableThreads = data.GetBool("EnableThreads", false);
}
public void Serialize(StructuredData data)
{
data.ConditionalAdd("EnableThreads", mEnableThreads, true);
data.ConditionalAdd("EnableThreads", mEnableThreads, false);
}
}