aboutsummaryrefslogtreecommitdiff
path: root/frontend/common
diff options
context:
space:
mode:
authornotaz2011-06-27 18:51:27 +0300
committernotaz2011-07-08 00:15:08 +0300
commit4feed8d3c6c867a45cae54fa7399041c3b5dd2c1 (patch)
tree65b2ff4b9db1286c3f91b6b1f5758bf736cab4d9 /frontend/common
parent9f21ebfe5570056501063c4165a0debf880f534f (diff)
downloadpcsx_rearmed-4feed8d3c6c867a45cae54fa7399041c3b5dd2c1.tar.gz
pcsx_rearmed-4feed8d3c6c867a45cae54fa7399041c3b5dd2c1.tar.bz2
pcsx_rearmed-4feed8d3c6c867a45cae54fa7399041c3b5dd2c1.zip
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.
Diffstat (limited to 'frontend/common')
-rw-r--r--frontend/common/menu.c10
1 files changed, 5 insertions, 5 deletions
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;