Exemplo n.º 1
0
        public virtual int sceGeUnsetCallback(int cbid)
        {
            ThreadManForUser      threadMan      = Modules.ThreadManForUserModule;
            SceKernelCallbackInfo callbackSignal = signalCallbacks.Remove(cbid);
            SceKernelCallbackInfo callbackFinish = finishCallbacks.Remove(cbid);

            if (callbackSignal != null)
            {
                threadMan.hleKernelDeleteCallback(callbackSignal.Uid);
            }
            if (callbackFinish != null)
            {
                threadMan.hleKernelDeleteCallback(callbackFinish.Uid);
            }
            SceUidManager.releaseId(cbid, geCallbackPurpose);

            return(0);
        }