forked from ShuriZma/suyu
1
0
Fork 0

Fix firmware timezone boot load check.

This commit is contained in:
Kelebek1 2024-02-03 15:21:10 +00:00
parent 6baf965777
commit 108a72ea8a
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ Result MountTimeZoneBinary(Core::System& system) {
// Validate that the romfs is readable, using invalid firmware keys can cause this to get // 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 // set but the files to be garbage. In that case, we want to hit the next path and
// synthesise them instead. // synthesise them instead.
g_time_zone_binary_mount_result = ResultSuccess;
Service::PSC::Time::LocationName name{"Etc/GMT"}; Service::PSC::Time::LocationName name{"Etc/GMT"};
if (!IsTimeZoneBinaryValid(name)) { if (!IsTimeZoneBinaryValid(name)) {
ResetTimeZoneBinary(); ResetTimeZoneBinary();