master #91

Merged
sin365 merged 8 commits from Alienjack/AxibugEmuOnline:master into master 2025-01-26 11:06:29 +08:00
Showing only changes of commit 058306f0fe - Show all commits

View File

@ -5,8 +5,8 @@ public class UniTimeSpan : ITimeSpan
{ {
public ulong tick; public ulong tick;
double startUs; double startUs;
//double tickDetailus = 16666.666667; double tickDetailus = 16666.666667;
double tickDetailus = 16.666667;//16΢Ãë £¨Ô½Ð¡Ô½¾ö¶¨tick¾«¶ÈԽС£© //double tickDetailus = 16.666667;//16΢Ãë £¨Ô½Ð¡Ô½¾ö¶¨tick¾«¶ÈԽС£©
object tickLock = new object(); object tickLock = new object();
public void InitStandTime() public void InitStandTime()
@ -54,8 +54,8 @@ public class UniTimeSpan : ITimeSpan
{ {
lock (tickLock) lock (tickLock)
{ {
//lpPerformanceCount = (long)tick; lpPerformanceCount = (long)tick;
lpPerformanceCount = (long)(GetRunUs() / tickDetailus); //lpPerformanceCount = (long)(GetRunUs() / tickDetailus);
return true; return true;
} }
} }