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
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
..
Diagnostics/Demangler Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Font Update to version 0.4 of LibHac (#689) 2019-06-01 02:31:10 +02:00
Ipc Print Guest Stack Trace in ServiceNotImplemented Exception (#650) 2019-03-15 14:37:54 +11:00
Kernel Print Guest Stack Trace in ServiceNotImplemented Exception (#650) 2019-03-15 14:37:54 +11:00
Services Implement GetAccumulatedSuspendedTickChangedEvent to ISelfController (#702) 2019-06-15 22:58:22 -03:00
SystemState Refactoring of acc:u0 (#701) 2019-06-16 00:35:38 +02:00
ErrorCode.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
ErrorModule.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
GlobalStateTable.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
Homebrew.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
HomebrewRomFsStream.cs Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00
Horizon.cs Implement OutputAccessLogToSdCard and expose an FS access log option (#700) 2019-06-16 03:31:18 +02:00
IdDictionary.cs Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
ProgramLoader.cs Add ARM32 support on the translator (#561) 2019-01-24 23:59:53 -02:00
ServiceCtx.cs Print Guest Stack Trace in ServiceNotImplemented Exception (#650) 2019-03-15 14:37:54 +11:00