mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-07 18:49:08 +01:00
Merge pull request #217 from shinyquagsire23/time-s-missing
time: Add missing time:s functions, used for libnx
This commit is contained in:
commit
32c509b82d
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ namespace Time {
|
||||||
TIME_S::TIME_S(std::shared_ptr<Module> time) : Module::Interface(std::move(time), "time:s") {
|
TIME_S::TIME_S(std::shared_ptr<Module> time) : Module::Interface(std::move(time), "time:s") {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, &TIME_S::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
|
{0, &TIME_S::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
|
||||||
|
{1, &TIME_S::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"},
|
||||||
|
{2, &TIME_S::GetStandardSteadyClock, "GetStandardSteadyClock"},
|
||||||
|
{3, &TIME_S::GetTimeZoneService, "GetTimeZoneService"},
|
||||||
|
{4, &TIME_S::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"},
|
||||||
};
|
};
|
||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue