Просмотр исходного кода

made liblz16 happier on OpenOS when decompressing smaller files

master
XeonSquared 3 лет назад
Родитель
Сommit
6f1b673bec
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      lib/liblz16.lua

+ 1
- 1
lib/liblz16.lua Просмотреть файл

@@ -13,7 +13,7 @@ local function readBuffer(fi)
if len < 1 then if len < 1 then
return nil return nil
end end
coroutine.yield()
if os.sleep then os.sleep(0) else coroutine.yield() end
return lz.decompress(fi:read(len)) return lz.decompress(fi:read(len))
end end
function stream.close() function stream.close()


Загрузка…
Отмена
Сохранить