From 7bbe8efa2951522e97b32efd82e18bda125b4773 Mon Sep 17 00:00:00 2001 From: ergo720 <45463469+ergo720@users.noreply.github.com> Date: Tue, 19 Mar 2024 17:01:06 +0100 Subject: [PATCH] Fixed a bug in the cpu/kernel logging code --- src/hw/cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hw/cpu.cpp b/src/hw/cpu.cpp index aef89ce..2c8b04a 100644 --- a/src/hw/cpu.cpp +++ b/src/hw/cpu.cpp @@ -40,7 +40,7 @@ cpu_logger(log_level lv, const unsigned count, const char *msg, ...) bool cpu::update_io(bool is_update) { - bool enable = module_enabled(); + bool enable = check_if_enabled(); if (!LC86_SUCCESS(mem_init_region_io(m_lc86cpu, kernel::IO_BASE, kernel::IO_SIZE, true, { .fnr32 = enable ? kernel::read_handler_logger : kernel::read_handler,