Пример #1
0
        public static int restoreContext(int addr)
        {
            if (NativeUtils.CoreCtrlActive)
            {
                //if (log.DebugEnabled)
                {
                    Console.WriteLine(string.Format("Restoring Core context from 0x{0:X8} - Core busy", addr));
                }
                return(SceKernelErrors.ERROR_BUSY);
            }

            //if (log.DebugEnabled)
            {
                Console.WriteLine(string.Format("Restoring Core context from 0x{0:X8}", addr));
            }

            NativeUtils.restoreCoreContext(addr);

            return(0);
        }