mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-15 22:21:25 +00:00
rsx: Fix second VBLANK time
Turns out that both VBLANK time and flip time clock at 80Mhz which is MFTB rate, just that cellGcmGetLastFlipTime is missing conversion to microseconds, so odd.
This commit is contained in:
parent
eec27f0e89
commit
dd4722fc1f
@ -751,8 +751,8 @@ error_code sys_rsx_context_attribute(u32 context_id, u32 package_id, u64 a3, u64
|
||||
// todo: this is wrong and should be 'second' vblank handler and freq, but since currently everything is reported as being 59.94, this should be fine
|
||||
vm::_ref<u32>(render->device_addr + 0x30) = 1;
|
||||
|
||||
// Time point is supplied in argument 4
|
||||
const u64 current_time = a4;
|
||||
// Time point is supplied in argument 4 (todo: convert it to MFTB rate and use it)
|
||||
const u64 current_time = rsxTimeStamp();
|
||||
|
||||
driverInfo.head[a3].lastSecondVTime = current_time;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user