X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=pico%2Fmemory.h;h=eb440dd49ea03223dca6ac4c4a49fa63bb6baa0f;hb=310d973b9e4f25c0359d5a489d6c061ea989a92a;hp=ae7ae50dad2ce115112f6314ac9da935f62e8268;hpb=0c7d1ba332b26f4ac67199e8ecbb826651f8512a;p=picodrive.git diff --git a/pico/memory.h b/pico/memory.h index ae7ae50..eb440dd 100644 --- a/pico/memory.h +++ b/pico/memory.h @@ -1,9 +1,11 @@ // memory map related stuff +#include "pico_port.h" + typedef unsigned char u8; typedef unsigned short u16; typedef unsigned int u32; -typedef unsigned long uptr; // unsigned pointer-sized int +typedef uintptr_t uptr; // unsigned pointer-sized int #define M68K_MEM_SHIFT 16 // minimum size we can map