mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-30 06:29:48 +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 ||
|
||||
(now.tv_usec > refresh_time.tv_usec + 33333)
|
||||
(now.tv_usec > refresh_time.tv_usec + 50000)
|
||||
) {
|
||||
memcpy(&refresh_time, &now, sizeof(struct timeval));
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user