This commit is contained in:
Igor Timofeev
2015-12-01 21:44:05 +03:00
parent 68f495380a
commit 4e571a2aeb
2 changed files with 298 additions and 0 deletions

View File

@@ -149,6 +149,10 @@ function ECSAPI.setScale(scale, debug)
gpu.setResolution(finalNewWidth, finalNewHeight)
end
function ECSAPI.rebindGPU(address)
gpu.bind(address)
end
--Получаем всю инфу об оперативку в килобайтах
function ECSAPI.getInfoAboutRAM()
local free = math.floor(computer.freeMemory() / 1024)