1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 16:41:42 +00:00

Change timestamp value on GPU query with timestamp and counter writeback (#547)

This issue was reported by `Mark290580`, and, according to them causes rendering issues on SMO.
This commit is contained in:
gdkchan 2019-02-12 23:40:25 -03:00 committed by jduncanator
parent c734137f41
commit 7e9f555574

View file

@ -1023,8 +1023,6 @@ namespace Ryujinx.Graphics.Graphics3d
long Timestamp = PerformanceCounter.ElapsedMilliseconds; long Timestamp = PerformanceCounter.ElapsedMilliseconds;
Timestamp = (long)(Timestamp * 615384.615385);
Vmm.WriteInt64(Position + 0, Counter); Vmm.WriteInt64(Position + 0, Counter);
Vmm.WriteInt64(Position + 8, Timestamp); Vmm.WriteInt64(Position + 8, Timestamp);