mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-02 17:57:15 +02:00
Do not sign-extend timestamps
This commit is contained in:
parent
3777fb44cf
commit
28275a8976
3 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue