| Age | Commit message (Collapse) | Author |
|
|
|
|
|
general: Reimplement per-game configurations
|
|
Fixes a memory leak with time zone binaries accumulating on theirselves.
|
|
|
|
core_timing: Use CNTPCT as the guest CPU tick
|
|
We aren't null-terminating this string after the copy, and we need to.
|
|
This is a deviation from the reference time zone implementation. The
actual code will set a pointer to the time zone name here, but for us we
have a limited number of characters to work with, and the name of the
time zone here could be larger than 8 characters.
We can make the assumption that time zone names greater than five
characters in length include a comma that denotes more data. Nintendo
just truncates that data for the name, so we can do the same.
time_zone_manager: Check for length of array
Just to be double sure that we never break past the array length,
directly compare against it.
|
|
Switch firmware will initialize this data even if the given parameters
are invalid. We should do the same.
|
|
Reference implementation does not compare the booleans as we had them.
Use the correct ones as in the reference.
Also adds an assert. I have been made aware of a crash here and am
not able to reproduce currently.
|
|
|
|
|
|
time_zone_manager: Use s64 storage
|
|
|
|
|
|
|
|
Implements GetTotalLocationNameCount LoadLocationNameList and
GetTimeZoneRuleVersion.
tz-manager: Fix sign issue
|
|
|
|
If we can't find the normal time zone string, try searching for the
closest one.
|
|
GetTimeZoneString no longer reports a setting unique to yuzu, so we
can assume a valid timezone string in core.
|
|
This causes the emulated system's universal time to be on the user's clock, and the user time to
be off if they set a time zone.
time_manager: Remove GetExternalRtcTime
|
|
Uses C++20 tzdb to determine the system timezone. The switch uses the
597 posix time zones, so this needs tests if the system time zone isn't
posix-compliant.
|
|
|
|
|
|
Converts services to have their own processes
|
|
constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
|
|
where possible
Signed-off-by: arades79 <scravers@protonmail.com>
|
|
|
|
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
|
|
|
|
|
|
|
|
Using this smaller type saves 512 bytes in the compiled executable.
|
|
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
|
|
This completes the removal of the old UUID implementation.
|
|
|
|
|
|
|
|
Alleviates the dependency on chrono for all files that include settings.h
|
|
|
|
common/logging: Reduce dependent header include overhead
|
|
The service context helps to manage all created events and allows us to close them upon destruction.
|
|
|
|
|
|
|
|
The timezone info file can be within subdirectories (such as Asia/Tokyo), use GetFileRelative instead of GetFile to get files within subdirectories.
|
|
Transition to PascalCase for result names.
|
|
Now that we have most of core free of shadowing, we can enable the
warning as an error to catch anything that may be remaining and also
eliminate this class of logic bug entirely.
|
|
|
|
KAutoObject.
|