drc: lots of new debug code
[picodrive.git] / pico / memory.h
index 9a5da86..1fd7fc1 100644 (file)
@@ -127,3 +127,8 @@ void name(u32 a, u32 d)                         \
   }                                             \
 }
 
+// 32x
+typedef struct {
+  uptr addr; // stores (membase >> 1) or ((handler >> 1) | (1<<31))
+  u32 mask;
+} sh2_memmap;