1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-24 00:22:00 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services
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
..
Acc Refactoring of acc:u0 (#701) 2019-06-16 00:35:38 +02:00
Am Implement GetAccumulatedSuspendedTickChangedEvent to ISelfController (#702) 2019-06-15 22:58:22 -03:00
Apm Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Arp Refactoring of acc:u0 (#701) 2019-06-16 00:35:38 +02:00
Aud Fix GetAudioRendererWorkBufferSize for REV5 (#677) 2019-04-25 00:22:06 +10:00
Bcat Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Bsd Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Caps Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Es Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Friend Refactoring of acc:u0 (#701) 2019-06-16 00:35:38 +02:00
FspSrv Implement OutputAccessLogToSdCard and expose an FS access log option (#700) 2019-06-16 03:31:18 +02:00
Hid Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Irs Updates to nifm, irs and nvdrv services (#679) 2019-04-25 23:03:00 +10:00
Ldr Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
Lm Implement OutputAccessLogToSdCard and expose an FS access log option (#700) 2019-06-16 03:31:18 +02:00
Lr Update to version 0.4 of LibHac (#689) 2019-06-01 02:31:10 +02:00
Mm Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Ncm Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Nfp Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Nifm Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Ns Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00
Nv Extended ignore missing services to INvDrvServices (#674) 2019-04-26 14:54:46 +10:00
Pctl Implement IParentalControlService CheckFreeCommunicationPermission (#665) 2019-04-22 16:54:47 +10:00
Pl Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
Pm Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00
Prepo Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Psm Improve kernel IPC implementation (#550) 2019-01-18 20:26:39 -02:00
Set Update to version 0.4 of LibHac (#689) 2019-06-01 02:31:10 +02:00
Sfdnsres Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Sm Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00
Spl Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Ssl Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Time Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Vi Add IManagerDisplayService::CreateStrayLayer (#683) 2019-04-26 08:57:18 +10:00
DummyService.cs Config option to ignore missing services (#658) 2019-04-16 09:22:55 +10:00
IIpcService.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
IpcService.cs Built in profiling (#567) 2019-04-26 14:53:10 +10:00
ServiceFactory.cs Implement IIrSensorServer GetIrsensorSharedMemoryHandle (#664) 2019-04-20 12:23:13 +10:00