mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-12-25 22:47:14 +00:00
Fix running on Linux
I think. Hopefully.
This commit is contained in:
parent
58f02f9180
commit
a924fbd63e
|
@ -142,7 +142,7 @@ local cues = {
|
|||
cue("Cent", {"0090", "0091", "0092", "0093", "0094"}, "0024"),
|
||||
cue("Jail1", {"0090", "0091", "0092", "0093", "0094", "0220"}, "0008"),
|
||||
cue("Momo", {"0090", "0091", "0092", "0093", "0094", "0280", "0281"}, "0002"),
|
||||
cue("lounge", {"0090", "0091", "0092", "0093", "0094"}, "0002"),
|
||||
cue("Lounge", {"0090", "0091", "0092", "0093", "0094"}, "0002"),
|
||||
cue("Jail2", {"0090", "0091", "0092", "0093", "0094", "0099"}, "0008"),
|
||||
cue("Blcny1", {"0090", "0091", "0092", "0093", "0094"}, "0030"),
|
||||
cue("Priso1", {"0090", "0091", "0092", "0093", "0094"}, "0029"),
|
||||
|
@ -243,4 +243,4 @@ function music:writeCues(tscFiles)
|
|||
end
|
||||
end
|
||||
|
||||
return music
|
||||
return music
|
||||
|
|
|
@ -51,7 +51,7 @@ local function to_bits(n)
|
|||
local tbl = {}
|
||||
local cnt = 1
|
||||
while (n > 0) do
|
||||
local last = math.mod(n,2)
|
||||
local last = math.fmod(n,2)
|
||||
if(last == 1) then
|
||||
tbl[cnt] = 1
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue