0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-22 22:45:46 +00:00
Ryujinx/Ryujinx.HLE
Ac_K 5084164cd9 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
2019-06-15 22:58:22 -03:00
..
Exceptions Print Guest Stack Trace in ServiceNotImplemented Exception (#650) 2019-03-15 14:37:54 +11:00
FileSystem fs: Fix ContentManager content paths on Unix systems (#699) 2019-06-13 22:46:14 +02:00
HOS Implement GetAccumulatedSuspendedTickChangedEvent to ISelfController (#702) 2019-06-15 22:58:22 -03:00
Input hid: Initial Keyboard Support (#684) 2019-05-03 09:29:01 +10:00
Loaders Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00
Resource Implement Shared Fonts (#215) 2018-08-04 18:38:49 -03:00
Utilities Implement OutputAccessLogToSdCard and expose an FS access log option (#700) 2019-06-16 03:31:18 +02:00
DeviceMemory.cs Optimize address translation and write tracking on the MMU (#571) 2019-02-24 18:24:35 +11:00
Homebrew.npdm Better process implementation (#491) 2018-11-28 20:18:09 -02:00
PerformanceStatistics.cs Built in profiling (#567) 2019-04-26 14:53:10 +10:00
Ryujinx.HLE.csproj Update to LibHac 0.4.1 (#698) 2019-06-07 00:01:44 +02:00
RyujinxProfileImage.jpg Implement friend:a IFriendService: 10101 (#429) 2018-09-25 19:59:29 -03:00
Switch.cs Logger and Configuration Refactoring (#573) 2019-02-11 09:00:32 -03:00