mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-12-22 09:25:10 -06:00
Do not sign-extend timestamps
This commit is contained in:
@@ -258,9 +258,9 @@ namespace Ryujinx.Core.Input
|
||||
}
|
||||
}
|
||||
|
||||
private long GetTimestamp()
|
||||
private static long GetTimestamp()
|
||||
{
|
||||
return Environment.TickCount * 19_200;
|
||||
return (long)((ulong)Environment.TickCount * 19_200);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,7 +67,7 @@ namespace Ryujinx.Core.OsHle.Svc
|
||||
|
||||
private void SvcGetSystemTick(AThreadState ThreadState)
|
||||
{
|
||||
ThreadState.X0 = (ulong)ThreadState.CntpctEl0;
|
||||
ThreadState.X0 = ThreadState.CntpctEl0;
|
||||
}
|
||||
|
||||
private void SvcConnectToNamedPort(AThreadState ThreadState)
|
||||
|
||||
Reference in New Issue
Block a user