summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/time_zone_manager.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-02-14remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistencyarades791-4/+4
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation where possiblearades791-4/+4
Signed-off-by: arades79 <scravers@protonmail.com>
2022-11-14Add break for default casesKyle Kienapfel1-0/+1
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
2022-06-27core: Replace all instances of ResultCode with Resultgerman771-23/+23
2022-06-14common: Change semantics of UNREACHABLE to unconditionally crashLiam1-1/+1
2022-05-13time_zone_manager: Use s8 for month length tablesMorph1-4/+3
Using this smaller type saves 512 bytes in the compiled executable.
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2021-11-04core: Remove unused includesameerj1-2/+0
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph1-11/+11
Transition to PascalCase for result names.
2021-04-08service: time: Setup the network clock with the local clock contextMorph1-1/+1
Setting the network time allows some time based events using the network clock to not reset.
2020-10-21Revert "core: Fix clang build"bunnei1-64/+54
2020-10-18core: Fix clang buildLioncash1-54/+64
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-13core/CMakeLists: Make some warnings errorsLioncash1-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.
2020-04-17time_zone_manager: Resolve sign conversion warningsLioncash1-2/+2
ttis and ats will never exceed the length of INT32_MAX in our case, so this is safe.
2020-04-16CMakeLists: Specify -Wextra on linux buildsLioncash1-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.
2020-01-23service: time: Implement ToPosixTimeWithMyRule.bunnei1-0/+9
- Used by Pokemon Mystery Dungeon.
2020-01-20time: Fix month off-by-one error.bunnei1-2/+2
- Fixes timestamp in ZLA and Astral Chain saves.
2020-01-04time: Remove overflow error checking (currently breaks ADO builds).bunnei1-9/+1
2020-01-04service: time: Rewrite implementation of glue services.bunnei1-0/+1038