summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/time_zone_manager.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Replace all instances of ResultCode with Resultgerman772022-06-271-23/+23
|
* common: Change semantics of UNREACHABLE to unconditionally crashLiam2022-06-141-1/+1
|
* time_zone_manager: Use s8 for month length tablesMorph2022-05-131-4/+3
| | | | Using this smaller type saves 512 bytes in the compiled executable.
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | 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.
* core: Remove unused includesameerj2021-11-041-2/+0
|
* general: Replace RESULT_SUCCESS with ResultSuccessMorph2021-06-021-11/+11
| | | | Transition to PascalCase for result names.
* service: time: Setup the network clock with the local clock contextMorph2021-04-081-1/+1
| | | | Setting the network time allows some time based events using the network clock to not reset.
* Revert "core: Fix clang build"bunnei2020-10-211-64/+54
|
* core: Fix clang buildLioncash2020-10-181-54/+64
| | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
* core/CMakeLists: Make some warnings errorsLioncash2020-10-131-8/+13
| | | | | | | | | Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
* time_zone_manager: Resolve sign conversion warningsLioncash2020-04-171-2/+2
| | | | | ttis and ats will never exceed the length of INT32_MAX in our case, so this is safe.
* CMakeLists: Specify -Wextra on linux buildsLioncash2020-04-161-7/+7
| | | | | | | | | | | Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
* service: time: Implement ToPosixTimeWithMyRule.bunnei2020-01-231-0/+9
| | | | - Used by Pokemon Mystery Dungeon.
* time: Fix month off-by-one error.bunnei2020-01-201-2/+2
| | | | - Fixes timestamp in ZLA and Astral Chain saves.
* time: Remove overflow error checking (currently breaks ADO builds).bunnei2020-01-041-9/+1
|
* service: time: Rewrite implementation of glue services.bunnei2020-01-041-0/+1038