diff options
| author | Ac_K <Acoustik666@gmail.com> | 2019-06-16 03:58:22 +0200 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2019-06-15 22:58:22 -0300 |
| commit | 5084164cd97e0f7c070e64593d789f1122b440b1 (patch) | |
| tree | 42b085b9b9b3996c007d523065d52e1895797342 /Ryujinx.HLE/FileSystem/VirtualFileSystem.cs | |
| parent | 350a3667f755ffa80737995c953b31102f7bc523 (diff) | |
Implement GetAccumulatedSuspendedTickChangedEvent to ISelfController (#702)
* Implement GetAccumulatedSuspendedTickChangedEvent to ISelfController
- Add all IPC call to the Dictionary.
- Rename _libraryAppletLaunchableEvent.
- Implement GetAccumulatedSuspendedTickChangedEvent according to the RE:
```
undefined8 GetAccumulatedSuspendedTickChangedEvent (struct this, uint *ouput_event_handle)
{
svcArbitrateLock(&this->tag_location);
if (this->event_created == 0)
{
if (CreateEvent(&this->event_object, 0, 1) != 0)
{
Assert(&DAT_710018f73b, &DAT_710018f73b, &DAT_710018f73b, 0, result, &DAT_710018f73b);
}
this->event_created = 1;
svcSignalEvent(&this->event_object);
}
svcArbitrateUnlock(&this->tag_location);
uint event_handle = GetEventHandle(&this->event_object);
uint uVar1 = *ouput_event_handle;
*ouput_event_handle = event_handle;
char cVar2 = *(char *)(ouput_event_handle + 1);
*(undefined *)(ouput_event_handle + 1) = 0;
if (cVar2 != 0)
{
svcCloseHandle((ulonglong)uVar1);
}
return 0;
}
```
* Fix the handle leak
Diffstat (limited to 'Ryujinx.HLE/FileSystem/VirtualFileSystem.cs')
0 files changed, 0 insertions, 0 deletions
