mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-06 20:35:14 +00:00
Decrease frame rate per second
This commit is contained in:
parent
2eccb288a4
commit
82906e74f8
@ -275,7 +275,7 @@ vm_screen_dirty(vm_screen *scr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (now.tv_sec > refresh_time.tv_sec ||
|
if (now.tv_sec > refresh_time.tv_sec ||
|
||||||
(now.tv_usec > refresh_time.tv_usec + 33333)
|
(now.tv_usec > refresh_time.tv_usec + 50000)
|
||||||
) {
|
) {
|
||||||
memcpy(&refresh_time, &now, sizeof(struct timeval));
|
memcpy(&refresh_time, &now, sizeof(struct timeval));
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user