VERY experimental Nintendo Switch 2 emulator
C++
time_zone: Swap subtraction order
lat9nq0331d580e21f
diff --git a/src/common/time_zone.cpp b/src/common/time_zone.cppindex 1ee63bf802..6131957efd 100644--- a/src/common/time_zone.cpp+++ b/src/common/time_zone.cpp@@ -53,7 +53,7 @@ std::chrono::seconds GetCurrentOffsetSeconds() {// gmt_seconds is a different offset than time(nullptr)const auto gmt_seconds = TmSpecToSeconds(gmt);const auto local_seconds = TmSpecToSeconds(local);- const auto seconds_offset = gmt_seconds - local_seconds;+ const auto seconds_offset = local_seconds - gmt_seconds;return std::chrono::seconds{seconds_offset};}