user_io: disable non-minimig I/O on minimig core.

This commit is contained in:
sorgelig
2019-11-13 22:52:57 +08:00
parent c5e3d0a113
commit 6076935456

View File

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