X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fdrc%2Fcmn.h;h=e6da6eacb8b5adf9bdbda85f6b0e996fa78e3c30;hb=571f7fa8ebacb7c636042051984456135e956465;hp=9ddc12b3d3a964670b356f6dc7e48b7e3a42f93d;hpb=a2b8c5a54568093b247ced39f0754cbb30324830;p=picodrive.git diff --git a/cpu/drc/cmn.h b/cpu/drc/cmn.h index 9ddc12b..e6da6ea 100644 --- a/cpu/drc/cmn.h +++ b/cpu/drc/cmn.h @@ -1,10 +1,15 @@ typedef unsigned char u8; +typedef signed char s8; typedef unsigned short u16; typedef unsigned int u32; #define DRC_TCACHE_SIZE (2*1024*1024) +#ifdef VITA +extern u8 *tcache; +#else extern u8 tcache[DRC_TCACHE_SIZE]; +#endif void drc_cmn_init(void); void drc_cmn_cleanup(void);