1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 17:19:31 +00:00

uqt.timer: now account for update lag, use only dt for calculations

This commit is contained in:
Étienne Fildadut 2019-12-29 22:32:30 +01:00
parent 6dc939bd16
commit f22e0bef26
5 changed files with 57 additions and 69 deletions

View file

@ -1,14 +1 @@
local time
local p = ...
if love then
time = require(p..".backend.love")
elseif package.loaded["ctr"] then
time = require(p..".backend.ctrulua")
elseif package.loaded["libretro"] then
error("NYI")
else
error("no backend for ubiquitousse.timer")
end
return time
return require((...)..".timer")