mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-26 04:52:47 +02:00
kern: SvcGetSystemTick
This commit is contained in:
parent
c64e490663
commit
1a5513760b
@ -21,20 +21,22 @@ namespace ams::kern::svc {
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
int64_t GetSystemTick() {
|
||||||
|
return KHardwareTimer::GetTick();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================= 64 ABI ============================= */
|
/* ============================= 64 ABI ============================= */
|
||||||
|
|
||||||
int64_t GetSystemTick64() {
|
int64_t GetSystemTick64() {
|
||||||
MESOSPHERE_PANIC("Stubbed SvcGetSystemTick64 was called.");
|
return GetSystemTick();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ============================= 64From32 ABI ============================= */
|
/* ============================= 64From32 ABI ============================= */
|
||||||
|
|
||||||
int64_t GetSystemTick64From32() {
|
int64_t GetSystemTick64From32() {
|
||||||
MESOSPHERE_PANIC("Stubbed SvcGetSystemTick64From32 was called.");
|
return GetSystemTick();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user