mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Fix doubling of current on vtimer stop.
This commit is contained in:
parent
167699ac9e
commit
9bd988e376
@ -359,7 +359,8 @@ u32 sceKernelStartVTimer(u32 uid) {
|
||||
}
|
||||
|
||||
void __stopVTimer(VTimer *vt) {
|
||||
vt->nvt.current += __getVTimerCurrentTime(vt);
|
||||
// This increases (__getVTimerCurrentTime includes nvt.current.)
|
||||
vt->nvt.current = __getVTimerCurrentTime(vt);
|
||||
vt->nvt.active = 0;
|
||||
vt->nvt.base = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user