2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #12901 from Kelebek1/timezone_firmware_fix

Fix firmware timezone boot load check.
This commit is contained in:
liamwhite 2024-02-03 11:10:30 -05:00 committed by GitHub
commit 5da55cbac9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();