mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-21 01:30:44 +02:00
fix
This commit is contained in:
parent
a3d1871002
commit
8b514d39fe
6 changed files with 23 additions and 30 deletions
|
|
@ -153,7 +153,6 @@ struct ControllerView: View {
|
|||
motion.valueChangedHandler = { motion in
|
||||
// Get current time
|
||||
let currentTimestamp = Date().timeIntervalSince1970
|
||||
let deltaTimestamp = Int32((currentTimestamp - lastTimestamp) * 1000) // Difference in milliseconds
|
||||
|
||||
// Update last timestamp
|
||||
lastTimestamp = currentTimestamp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue