public int sceKernelChangeCurrentThreadAttr(PspThreadAttributes RemoveAttributes, PspThreadAttributes AddAttributes) { ThreadManager.Current.Attribute &= ~RemoveAttributes; ThreadManager.Current.Attribute |= AddAttributes; return 0; }