From 6076935456269ad11f832700932b609a314201be Mon Sep 17 00:00:00 2001 From: sorgelig Date: Wed, 13 Nov 2019 22:52:57 +0800 Subject: [PATCH] user_io: disable non-minimig I/O on minimig core. --- user_io.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_io.cpp b/user_io.cpp index f212a75..54b866c 100644 --- a/user_io.cpp +++ b/user_io.cpp @@ -2243,7 +2243,7 @@ void user_io_poll() { x86_poll(); } - else if ((core_type == CORE_TYPE_8BIT || core_type == CORE_TYPE_ARCHIE) && !is_menu_core()) + else if ((core_type == CORE_TYPE_8BIT || core_type == CORE_TYPE_ARCHIE) && !is_menu_core() && !is_minimig()) { static uint8_t buffer[4][512]; uint32_t lba; @@ -2514,7 +2514,7 @@ void user_io_poll() } } - if (core_type == CORE_TYPE_8BIT && !is_menu_core()) + if (core_type == CORE_TYPE_8BIT && !is_menu_core() && !is_minimig()) { // frequently check ps2 mouse for events if (CheckTimer(mouse_timer))