public HleEventFlag sceKernelCreateEventFlag(string Name, HleEventFlag.AttributesSet Attributes, uint BitPattern, SceKernelEventFlagOptParam *OptionsPtr) { if (OptionsPtr != null) { throw new NotImplementedException("(OptionsPtr != null)"); } return(new HleEventFlag() { Name = Name, Info = new EventFlagInfo(0) { Name = Name, Attributes = Attributes, InitialPattern = BitPattern, CurrentPattern = BitPattern, }, }); }
public EventFlagId sceKernelCreateEventFlag(string Name, HleEventFlag.AttributesSet Attributes, uint BitPattern, SceKernelEventFlagOptParam *OptionsPtr) { if (OptionsPtr != null) { throw (new NotImplementedException("(OptionsPtr != null)")); } var HleEventFlag = new HleEventFlag() { Name = Name, Attributes = Attributes, BitPattern = BitPattern, }; HleEventFlag.Info.InitialPattern = BitPattern; return(HleState.EventFlagManager.EventFlags.Create(HleEventFlag)); }