Fix after rebase

This commit is contained in:
Thog 2019-07-14 22:42:41 +02:00
commit f5767ba5b3
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -46,7 +46,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.Clock
context = new SystemClockContext(); context = new SystemClockContext();
if (result == 0) if (result == ResultCode.Success)
{ {
return _localSystemClockCore.GetSystemClockContext(thread, out context); return _localSystemClockCore.GetSystemClockContext(thread, out context);
} }
@ -67,7 +67,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.Clock
{ {
result = _networkSystemClockCore.GetSystemClockContext(thread, out SystemClockContext context); result = _networkSystemClockCore.GetSystemClockContext(thread, out SystemClockContext context);
if (result == 0) if (result == ResultCode.Success)
{ {
_localSystemClockCore.SetSystemClockContext(context); _localSystemClockCore.SetSystemClockContext(context);
} }
@ -80,7 +80,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.Clock
{ {
ResultCode result = ApplyAutomaticCorrection(thread, autoCorrectionEnabled); ResultCode result = ApplyAutomaticCorrection(thread, autoCorrectionEnabled);
if (result == 0) if (result == ResultCode.Success)
{ {
_autoCorrectionEnabled = autoCorrectionEnabled; _autoCorrectionEnabled = autoCorrectionEnabled;
} }