- added music/sfc subsystem\n- added basic audio\n- added music/sound test screen\n- added some basic vscode tasks
This commit is contained in:
5
inc/system/system.util.lua
Normal file
5
inc/system/system.util.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
Util = {}
|
||||
|
||||
function Util.safeindex(array, index)
|
||||
return ((index - 1 + #array) % #array) + 1
|
||||
end
|
||||
Reference in New Issue
Block a user