From 538c8d1c31ff032e1afda2ee7dccdfd6fce26a32 Mon Sep 17 00:00:00 2001 From: Thog Date: Tue, 1 Oct 2019 01:13:49 +0200 Subject: [PATCH] Avoid crashing when timezone sysarchive isn't present --- Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneManager.cs b/Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneManager.cs index 27a650c575..b2bfcb59ea 100644 --- a/Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneManager.cs +++ b/Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneManager.cs @@ -19,7 +19,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.TimeZone public TimeZoneManager() { _isInitialized = false; - _deviceLocationName = null; + _deviceLocationName = "UTC"; _timeZoneRuleVersion = new UInt128(); _lock = new object();