Browse Source
Merge pull request #12901 from Kelebek1/timezone_firmware_fix
Fix firmware timezone boot load check.
pull/15/merge
liamwhite
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
src/core/hle/service/glue/time/time_zone_binary.cpp
|
|
|
@ -65,6 +65,7 @@ Result MountTimeZoneBinary(Core::System& system) { |
|
|
|
// Validate that the romfs is readable, using invalid firmware keys can cause this to get
|
|
|
|
// set but the files to be garbage. In that case, we want to hit the next path and
|
|
|
|
// synthesise them instead.
|
|
|
|
g_time_zone_binary_mount_result = ResultSuccess; |
|
|
|
Service::PSC::Time::LocationName name{"Etc/GMT"}; |
|
|
|
if (!IsTimeZoneBinaryValid(name)) { |
|
|
|
ResetTimeZoneBinary(); |
|
|
|
|