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:
parent
6dc939bd16
commit
f22e0bef26
5 changed files with 57 additions and 69 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue