mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-25 20:42:40 +02:00
kern: SvcGetSystemTick
This commit is contained in:
parent
c64e490663
commit
1a5513760b
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user