From 3fb3beeaff26a1ae637bbafaa092f4eee498d00a Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 28 Jul 2020 04:10:20 -0700 Subject: [PATCH] kern: SvcGetSystemTick --- libraries/libmesosphere/source/svc/kern_svc_tick.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libraries/libmesosphere/source/svc/kern_svc_tick.cpp b/libraries/libmesosphere/source/svc/kern_svc_tick.cpp index 991e9b5e4..b8712f1a1 100644 --- a/libraries/libmesosphere/source/svc/kern_svc_tick.cpp +++ b/libraries/libmesosphere/source/svc/kern_svc_tick.cpp @@ -21,20 +21,22 @@ namespace ams::kern::svc { namespace { - + int64_t GetSystemTick() { + return KHardwareTimer::GetTick(); + } } /* ============================= 64 ABI ============================= */ int64_t GetSystemTick64() { - MESOSPHERE_PANIC("Stubbed SvcGetSystemTick64 was called."); + return GetSystemTick(); } /* ============================= 64From32 ABI ============================= */ int64_t GetSystemTick64From32() { - MESOSPHERE_PANIC("Stubbed SvcGetSystemTick64From32 was called."); + return GetSystemTick(); } }