1
0
Fork 0
forked from len0rd/rockbox

Fixed the errors.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10854 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-09-02 08:14:52 +00:00
parent 3686228f9d
commit 8aa6180e92
2 changed files with 4 additions and 2 deletions

View file

@ -157,12 +157,12 @@ bool dbg_os(void)
case ACTION_SETTINGS_DEC:
currval--;
if(currval < 0)
currval = num_threads[CPU]-1;
currval = cores[CPU].num_threads-1;
break;
case ACTION_SETTINGS_INC:
currval++;
if(currval > num_threads[CPU]-1)
if(currval > cores[CPU].num_threads-1)
currval = 0;
break;
}