Block the mouse while OSD is active.

This commit is contained in:
sorgelig
2017-08-03 03:57:56 +08:00
parent d50d5b365a
commit 93b4932185

View File

@@ -1509,6 +1509,8 @@ static void send_keycode(unsigned short key, int press)
void user_io_mouse(unsigned char b, int16_t x, int16_t y)
{
if (osd_is_visible) return;
// send mouse data as minimig expects it
if (core_type == CORE_TYPE_MINIMIG2)
{