Exemplo n.º 1
0
    public unsafe static UInt32 *ClearOTagR(UInt32 *ot, UInt32 n)
    {
        PSX_OT_MGR.ClearOTag(ot, n);
        if (n <= 0u)
        {
            return(null);
        }
        Int32 num = (Int32)(n - 1u);

        for (Int32 i = num; i > 0; i--)
        {
            ot[i] = (UInt32)(ot + (i - 1));
        }
        *ot = 16777215u;
        return(ot);
    }
Exemplo n.º 2
0
 public unsafe static void AddPrim(void *in_ot, void *in_p)
 {
     ((P_TAG *)in_p)->addr  = ((P_TAG *)in_ot)->addr;
     ((P_TAG *)in_ot)->addr = ((UInt32)in_p & 16777215u);
     PSX_OT_MGR.AddPrim(in_ot, in_p);
 }