diff --git a/.gitignore b/.gitignore index a176f65..84e2a62 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ crashsave* *.lsvs config.lua *.sfc -watchexec* \ No newline at end of file +watchexec* +.VSCodeCounter/ diff --git a/config.lua b/config.lua index b5209f1..36dd21f 100644 --- a/config.lua +++ b/config.lua @@ -35,7 +35,8 @@ _M.Filename = _M.PoolDir .. _M.State[1] _M.StartPowerup = 0 _M.NeatConfig = { -Threads = 2, +DisableSound = false, +Threads = 7, --Filename = "DP1.state", SaveFile = _M.Filename .. ".pool", diff --git a/runner.lua b/runner.lua index 7eb83fa..4bbef6e 100644 --- a/runner.lua +++ b/runner.lua @@ -387,7 +387,11 @@ local function initializeRun(_M, after) settings.set_speed("turbo") -- XXX Does this actually work or only affects new VM loads? settings.set('lua-maxmem', 1024) - exec('enable-sound off') + local enableSound = 'on' + if config.NeatConfig.DisableSound then + enableSound = 'off' + end + exec('enable-sound '..enableSound) gui.subframe_update(false) table.insert(_M.runInitialized, after) movie.unsafe_rewind(rew)