From a4e39387a933a4620830619bcfd758a96a5376a3 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 14 Aug 2023 22:32:14 +0200 Subject: [PATCH] Fixed a compile-breaking mistake. --- src/include/86box/timer.h | 2 +- src/timer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/86box/timer.h b/src/include/86box/timer.h index 16f36b129..e4e163a08 100644 --- a/src/include/86box/timer.h +++ b/src/include/86box/timer.h @@ -221,7 +221,7 @@ timer_process_inline(void) timer->callback(timer->priv); if (timer->flags |= TIMER_ENABLE) - timer->flags = (timer_flags & ~TIMER_ENABLE) | TIMER_ENABLED; + timer->flags = (timer->flags & ~TIMER_ENABLE) | TIMER_ENABLED; else timer->flags &= ~TIMER_ENABLED; } diff --git a/src/timer.c b/src/timer.c index 354b193a5..a2a4dc87a 100644 --- a/src/timer.c +++ b/src/timer.c @@ -129,7 +129,7 @@ timer_process(void) timer->callback(timer->priv); if (timer->flags |= TIMER_ENABLE) - timer->flags = (timer_flags & ~TIMER_ENABLE) | TIMER_ENABLED; + timer->flags = (timer->flags & ~TIMER_ENABLE) | TIMER_ENABLED; else timer->flags &= ~TIMER_ENABLED; }