X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cpu%2Fdrc%2Fcmn.h;h=e6da6eacb8b5adf9bdbda85f6b0e996fa78e3c30;hb=3d5e32fe21b56d59a116195a66f300735af5a7ec;hp=a4bce322ca8293e7da76be2d40545d97b2394bd4;hpb=679af8a3f466a2a4a20f58e4181a231fb73e9836;p=picodrive.git diff --git a/cpu/drc/cmn.h b/cpu/drc/cmn.h index a4bce32..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 (512*1024) +#define DRC_TCACHE_SIZE (2*1024*1024) -extern u32 tcache[DRC_TCACHE_SIZE/4]; +#ifdef VITA +extern u8 *tcache; +#else +extern u8 tcache[DRC_TCACHE_SIZE]; +#endif void drc_cmn_init(void); void drc_cmn_cleanup(void);