New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement sys_time_get_timezone syscall #10197
Conversation
21bf1f7
to
fe08908
Compare
Fixed summertime (looks like it's supplied in minutes), please retest. |
case TIME_ZONE_ID_STANDARD: | ||
{ | ||
*timezone = -tz.Bias; | ||
*summertime = -tz.StandardBias; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really understand the standard bias. But I'd assume that it should be added to the bias and not counted as summertime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am relatively certain that the Standardbias doesn't count as summertime.
It's basically an addendum to the regular bias and is rarely used.
So it should be added to the bias in order to get a proper end result.
"This value is added to the value of the Bias member to form the bias used during standard time. In most time zones, the value of this member is zero."
Try to get system timezone automatically. Attempt to address RPCS3#10195.
Try to get system timezone automatically.
Used to be hardcoded to GMT+3.
Attempt to address #10195.