0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.HLE/HOS/Services/Am
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
..
AmErr.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
FocusState.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
IAllSystemAppletProxiesService.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IApplicationCreator.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IApplicationFunctions.cs Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
IApplicationProxy.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IApplicationProxyService.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IAudioController.cs Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
ICommonStateGetter.cs Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
IDebugFunctions.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IDisplayController.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IGlobalStateController.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IHomeMenuFunctions.cs Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
ILibraryAppletAccessor.cs Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
ILibraryAppletCreator.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
ISelfController.cs Implement GetAccumulatedSuspendedTickChangedEvent to ISelfController (#702) 2019-06-15 22:58:22 -03:00
IStorage.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IStorageAccessor.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
ISystemAppletProxy.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
IWindowController.cs Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
MessageInfo.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
OperationMode.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
StorageHelper.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00