Exemplo n.º 1
0
        public static uint GetRamOffsetUnsigned(Enum sector, Context context, bool useKSeg0 = true)
        {
            Type type = sector.GetType();

            if (type == typeof(PsxIso.Sectors))
            {
                return(PsxIso.GetRamOffset((PsxIso.Sectors)sector, useKSeg0));
            }
            else if (type == typeof(PspIso.Sectors))
            {
                return(PspIso.GetRamOffsetUnsigned((PspIso.Sectors)sector));
            }
            else
            {
                return(0);
            }
        }