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); }
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); }
public static AddressCounters[] GetMemoryAccessCounts(UInt32 offset, UInt32 length, SnesMemoryType type) { AddressCounters[] counts = new AddressCounters[length]; DebugApi.GetMemoryAccessCountsWrapper(offset, length, type, counts); return(counts); }