#elif defined(__GIZ__)\r
#include "../gizmondo/giz.h"\r
#define SCREEN_WIDTH 321\r
-#define SCREEN_BUFFER giz_screen\r
+#define SCREEN_BUFFER menu_screen\r
+extern unsigned char menu_screen[321*240*2];\r
#endif\r
\r
static unsigned char menu_font_data[10240];\r
if (count_bound_keys(opts[sel].mask, player_idx, 0) >= 2)\r
currentConfig.KeyBinds[i] &= ~opts[sel].mask; // allow to unbind only\r
else currentConfig.KeyBinds[i] ^= opts[sel].mask;\r
- if (player_idx >= 0 && currentConfig.KeyBinds[i] & opts[sel].mask) {\r
+ if (player_idx >= 0 && (currentConfig.KeyBinds[i] & opts[sel].mask)) {\r
currentConfig.KeyBinds[i] &= ~(3 << 16);\r
currentConfig.KeyBinds[i] |= player_idx << 16;\r
}\r