forked from hkc/cc-stuff
shift by what?
This commit is contained in:
parent
c23f9ed7fb
commit
d40c689d66
|
@ -13,7 +13,7 @@ local function read32()
|
|||
local v = 0
|
||||
for i = 1, 4 do
|
||||
local b = drive.read()
|
||||
v = bit32.bor(bit32.lshift(v), b)
|
||||
v = bit32.bor(bit32.lshift(v, 8), b)
|
||||
end
|
||||
return v
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue