mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-10 07:06:34 +00:00
kern: SvcGetSystemTick
This commit is contained in:
parent
4bb9ef061a
commit
3fb3beeaff
1 changed files with 5 additions and 3 deletions
|
@ -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 a new issue