sh4_sched: Avoid scheduling to -1, because, magic values.
This commit is contained in:
parent
4b46de89bb
commit
c25ce04b48
|
@ -118,6 +118,8 @@ void sh4_sched_request(int id, int cycles)
|
|||
else
|
||||
{
|
||||
list[id].end = list[id].start + cycles;
|
||||
if (list[id].end == -1)
|
||||
list[id].end++;
|
||||
}
|
||||
|
||||
sh4_sched_ffts();
|
||||
|
|
Loading…
Reference in New Issue