1
0
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:
Peter Evans 2018-03-18 00:01:40 -05:00
parent 2eccb288a4
commit 82906e74f8

View File

@ -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;