Fix code style and some typos
This commit is contained in:
parent
ec29006d5f
commit
6c7c0f958f
4 changed files with 6 additions and 4 deletions
|
@ -3,6 +3,7 @@ using Ryujinx.HLE.HOS.Services.Pcv.Bpc;
|
|||
using Ryujinx.HLE.HOS.Services.Settings;
|
||||
using Ryujinx.HLE.HOS.Services.Time.Clock;
|
||||
using Ryujinx.HLE.HOS.Services.Time.StaticService;
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Services.Time
|
||||
{
|
||||
|
@ -121,7 +122,7 @@ namespace Ryujinx.HLE.HOS.Services.Time
|
|||
{
|
||||
if (!NxSettings.Settings.TryGetValue("time!standard_user_clock_initial_year", out object standardUserSystemClockInitialYear))
|
||||
{
|
||||
throw new System.InvalidOperationException("standard_user_clock_initial_year isn't defined in system settings!");
|
||||
throw new InvalidOperationException("standard_user_clock_initial_year isn't defined in system settings!");
|
||||
}
|
||||
|
||||
context.ResponseData.Write((int)standardUserSystemClockInitialYear);
|
||||
|
|
|
@ -14,11 +14,11 @@ namespace Ryujinx.HLE.HOS.Services.Time.StaticService
|
|||
private bool _bypassUninitializedClock;
|
||||
private int _operationEventReadableHandle;
|
||||
|
||||
public ISystemClock(SystemClockCore clockCore, bool writePermission, bool bypassUninitializedCloc)
|
||||
public ISystemClock(SystemClockCore clockCore, bool writePermission, bool bypassUninitializedClock)
|
||||
{
|
||||
_clockCore = clockCore;
|
||||
_writePermission = writePermission;
|
||||
_bypassUninitializedClock = bypassUninitializedCloc;
|
||||
_bypassUninitializedClock = bypassUninitializedClock;
|
||||
_operationEventReadableHandle = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ namespace Ryujinx.HLE.HOS.Services.Time
|
|||
{
|
||||
SharedMemory.Initialize(device, sharedMemory, timeSharedMemoryAddress, timeSharedMemorySize);
|
||||
|
||||
// Here we use system on purpose as device.System isn't initialized at this point.
|
||||
// Here we use system on purpose as device. System isn't initialized at this point.
|
||||
StandardUserSystemClock.CreateAutomaticCorrectionEvent(system);
|
||||
}
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.TimeZone
|
|||
else
|
||||
{
|
||||
_locationNameCache = new string[0];
|
||||
|
||||
Logger.PrintWarning(LogClass.ServiceTime, "TimeZoneBinary system archive not found! TimeZone conversions will not work, provide the system archive to fix.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue