mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix doubling of current on vtimer stop.
This commit is contained in:
parent
167699ac9e
commit
9bd988e376
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue