예제 #1
0
        public static void GetMemoryAccessCounts(SnesMemoryType type, ref AddressCounters[] counters)
        {
            int size = DebugApi.GetMemorySize(type);

            Array.Resize(ref counters, size);
            DebugApi.GetMemoryAccessCountsWrapper(0, (uint)size, type, counters);
        }
예제 #2
0
 public static UInt32[] GetMemoryAccessCounts(UInt32 offset, UInt32 length, SnesMemoryType type, MemoryOperationType operationType)
 {
     UInt32[] counts = new UInt32[length];
     DebugApi.GetMemoryAccessCountsWrapper(offset, length, type, operationType, counts);
     return(counts);
 }
예제 #3
0
 public static AddressCounters[] GetMemoryAccessCounts(UInt32 offset, UInt32 length, SnesMemoryType type)
 {
     AddressCounters[] counts = new AddressCounters[length];
     DebugApi.GetMemoryAccessCountsWrapper(offset, length, type, counts);
     return(counts);
 }