diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-04-22 01:21:49 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-04-22 01:22:46 -0300 |
| commit | bd9b1e2c6b912c7cdab55ec6acc063c88a59cff1 (patch) | |
| tree | 077ab8da47828f9fd23893eeefa54c7d8fb2a314 /Ryujinx.Core/OsHle/Services/Time | |
| parent | 4906acdde96c09b4e12a3801a4bacd5233a2f8e6 (diff) | |
Stub a few services, add support for generating call stacks on the CPU
Diffstat (limited to 'Ryujinx.Core/OsHle/Services/Time')
| -rw-r--r-- | Ryujinx.Core/OsHle/Services/Time/ITimeZoneService.cs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Time/ITimeZoneService.cs b/Ryujinx.Core/OsHle/Services/Time/ITimeZoneService.cs index 767d3cc7..ec50c82f 100644 --- a/Ryujinx.Core/OsHle/Services/Time/ITimeZoneService.cs +++ b/Ryujinx.Core/OsHle/Services/Time/ITimeZoneService.cs @@ -16,10 +16,23 @@ namespace Ryujinx.Core.OsHle.Services.Time { m_Commands = new Dictionary<int, ServiceProcessRequest>() { - { 101, ToCalendarTimeWithMyRule } + { 0, GetDeviceLocationName }, + { 101, ToCalendarTimeWithMyRule } }; } + public long GetDeviceLocationName(ServiceCtx Context) + { + Logging.Stub(LogClass.ServiceTime, "Stubbed"); + + for (int Index = 0; Index < 0x24; Index++) + { + Context.ResponseData.Write((byte)0); + } + + return 0; + } + public long ToCalendarTimeWithMyRule(ServiceCtx Context) { long PosixTime = Context.RequestData.ReadInt64(); |
