Skip to content

Commit

Permalink
Disable unused love2d features
Browse files Browse the repository at this point in the history
  • Loading branch information
maddie480 authored Nov 23, 2024
1 parent 43aef2d commit a3792e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ and only contains the latest changes.
Its purpose is to be shown in Olympus when updating.

#changelog#
Added some environment variables to control Olympus behavior, for use in the NixOS package
Disable unused love2d features (audio, joystick, physics, touch, video), which should prevent Olympus from appearing in sound sources
8 changes: 8 additions & 0 deletions src/conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,13 @@ function love.conf(t)
t.window.highdpi = true
t.console = false

-- Disable unused love2d modules
t.modules.audio = false
t.modules.joystick = false
t.modules.physics = false
t.modules.sound = false
t.modules.touch = false
t.modules.video = false

print("pre-initialized")
end

0 comments on commit a3792e0

Please sign in to comment.