R/Ryujinx.HLE
Ac_K 36f62cbe72 friends: INotificationService Implementation of GetEvent (#710)
* friends: INotificationService Implementation of GetEvent

According to the RE, the event isn't signaled when handle is returned.
```C
long nn::friends::detail::service::NotificationService::GetEvent(long this, uint *output_handle)
{
  long inner_struct_event;
  int result;

  if (this->event_created)
  {
    inner_struct_event = &this->event_object;
  }
  else
  {
    inner_struct_event = &this->event_object;
    result = CreateEvent(&this->event_object, 0, 1);

    if ( result )
    {
      Assert();
    }

    this->event_created = true;
  }

  uint event_handle = nn::os::detail::DetachReadableHandleOfInterProcessEvent(inner_struct_event);

  *output_handle = event_handle;
  int unknown = *((char *)output_handle + 4);
  *((char *)output_handle + 4) = 1;

  if (unknown)
  {
    CloseHandle(*output_handle);
  }

  return 0LL;
}
```
Co-Authored-By: Thomas Guillemard <me@thog.eu>
2019-06-27 14:05:30 +02: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 friends: INotificationService Implementation of GetEvent (#710) 2019-06-27 14:05:30 +02: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