Esempio n. 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);
        }
Esempio n. 2
0
 public static byte[] GetMemoryState(SnesMemoryType type)
 {
     byte[] buffer = new byte[DebugApi.GetMemorySize(type)];
     DebugApi.GetMemoryStateWrapper(type, buffer);
     return(buffer);
 }