diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.cpp | 4 | ||||
| -rw-r--r-- | src/common/settings.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index d9948dde8..78fa99113 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp | |||
| @@ -66,8 +66,8 @@ SWITCHABLE(u8, true); | |||
| 66 | 66 | ||
| 67 | Values values; | 67 | Values values; |
| 68 | 68 | ||
| 69 | std::string GetTimeZoneString() { | 69 | std::string GetTimeZoneString(TimeZone time_zone) { |
| 70 | const auto time_zone_index = static_cast<std::size_t>(values.time_zone_index.GetValue()); | 70 | const auto time_zone_index = static_cast<std::size_t>(time_zone); |
| 71 | ASSERT(time_zone_index < Common::TimeZone::GetTimeZoneStrings().size()); | 71 | ASSERT(time_zone_index < Common::TimeZone::GetTimeZoneStrings().size()); |
| 72 | 72 | ||
| 73 | std::string location_name; | 73 | std::string location_name; |
diff --git a/src/common/settings.h b/src/common/settings.h index c4339cb1f..928636c72 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -516,7 +516,7 @@ bool IsFastmemEnabled(); | |||
| 516 | 516 | ||
| 517 | float Volume(); | 517 | float Volume(); |
| 518 | 518 | ||
| 519 | std::string GetTimeZoneString(); | 519 | std::string GetTimeZoneString(TimeZone time_zone); |
| 520 | 520 | ||
| 521 | void LogSettings(); | 521 | void LogSettings(); |
| 522 | 522 | ||