WaitFor effectively matching
This commit is contained in:
parent
a0b4e2e0f9
commit
f7ece6e227
|
|
@ -504,7 +504,7 @@ void WaitFor(tU32 pDelay) {
|
|||
tU32 start_time;
|
||||
|
||||
start_time = PDGetTotalTime();
|
||||
while (start_time + pDelay < PDGetTotalTime()) {
|
||||
while (start_time + pDelay > PDGetTotalTime()) {
|
||||
SoundService();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue