CSPspEmu.Core.Memory.FastPspMemory.PspAddressToPointerUnsafe C# (CSharp) Method

PspAddressToPointerUnsafe() public method

public PspAddressToPointerUnsafe ( uint _Address ) : void*
_Address uint
return void*
        public override void* PspAddressToPointerUnsafe(uint _Address)
        {
            var Address = (_Address & FastPspMemory.FastMemoryMask);
            //Console.WriteLine("Base: 0x{0:X} ; Address: 0x{1:X}", (ulong)Base, Address);
            if (Address == 0) return null;
            #if false
            if (_Base == null) throw(new InvalidProgramException("Base is null"));
            #endif
            return _Base + Address;
        }