From 4feed8d3c6c867a45cae54fa7399041c3b5dd2c1 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 27 Jun 2011 18:51:27 +0300 Subject: cdrom: make read reschedule optional Some really nasty timing issues, I guess can only be resolved for good when general timing is good and BIAS is gone. --- frontend/common/menu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'frontend/common') diff --git a/frontend/common/menu.c b/frontend/common/menu.c index 96e1bd3..7890df4 100644 --- a/frontend/common/menu.c +++ b/frontend/common/menu.c @@ -560,11 +560,11 @@ static int me_process(menu_entry *entry, int is_next, int is_lr) names = (const char **)entry->data; for (c = 0; names[c] != NULL; c++) ; - *(int *)entry->var += is_next ? 1 : -1; - if (*(int *)entry->var < 0) - *(int *)entry->var = 0; - if (*(int *)entry->var >= c) - *(int *)entry->var = c - 1; + *(signed char *)entry->var += is_next ? 1 : -1; + if (*(signed char *)entry->var < 0) + *(signed char *)entry->var = 0; + if (*(signed char *)entry->var >= c) + *(signed char *)entry->var = c - 1; return 1; default: return 0; -- cgit v1.2.3