mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Fix regression with printing of debug info
Output of debug info each second was disabled due to recent patches. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
3fc08f8ab6
commit
9c7d72739c
1 changed files with 2 additions and 2 deletions
|
@ -2201,8 +2201,8 @@ void do_timer_event() {
|
||||||
static int lastInfoTime;
|
static int lastInfoTime;
|
||||||
int e = elapsed_search_time();
|
int e = elapsed_search_time();
|
||||||
|
|
||||||
// Print debug information every second
|
// Print debug information every one second
|
||||||
if (get_system_time() - lastInfoTime >= 1000)
|
if (!lastInfoTime || get_system_time() - lastInfoTime >= 1000)
|
||||||
{
|
{
|
||||||
lastInfoTime = get_system_time();
|
lastInfoTime = get_system_time();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue