X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fdrc%2Fcmn.h;h=e6da6eacb8b5adf9bdbda85f6b0e996fa78e3c30;hb=6c991e7ced6e893064dafbe7bd64b98c978f6195;hp=d5ed9ba8ffba8b1f0e210d4ba3d67fb5a5528177;hpb=f4bb5d6b2c96a94317c4edb7805eb6d6ed8589ef;p=picodrive.git diff --git a/cpu/drc/cmn.h b/cpu/drc/cmn.h index d5ed9ba..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) +#ifdef VITA +extern u8 *tcache; +#else extern u8 tcache[DRC_TCACHE_SIZE]; +#endif void drc_cmn_init(void); void drc_cmn_cleanup(void);