This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
ps3: fix a bug in the timer code.
legacy
Sam Hocevar
sam
13 years ago
parent
00625f76e9
commit
328af22a5f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/timer.cpp
+ 1
- 1
src/timer.cpp
View File
@@ -86,7 +86,7 @@ private:
#elif defined __CELLOS_LV2__
uint64_t cycles;
SYS_TIMEBASE_GET(cycles);
ret = ms_per_cycle * cycles;
ret = ms_per_cycle *
(
cycles
- cycles0)
;
if (update)
cycles0 = cycles;
towait = deltams - ret;
Write
Preview
Loading…
Cancel
Save