From 2f0cbdcb884faaca44e90299c4a72145e81cffc1 Mon Sep 17 00:00:00 2001 From: jcgamestoy Date: Sat, 31 Aug 2013 11:31:53 +0000 Subject: [PATCH] Color modes working again. Fixed Minimig OSD. --- user_io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user_io.c b/user_io.c index 48cd513..84d3abc 100644 --- a/user_io.c +++ b/user_io.c @@ -345,7 +345,8 @@ void user_io_osd_key_enable(char on) { static char key_used_by_osd(unsigned short s) { if((s & OSD_LOC) && !(s & 0xff)) return true; // this key is only used in OSD and has no keycode - return(osd_eats_keys); + if(!osd_eats_keys) return false; + return ((s & OSD_LOC) != 0); } void user_io_kbd(unsigned char m, unsigned char *k) {