filename | test/lib.h |
changeset | 278:a66aaa522d31 |
prev | 210:c356f597c896 |
next | 812:8cc61d5ea1f8 |
author | nkeynes |
date | Tue Jan 23 11:19:32 2007 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Refactor render buffer read/write to pvr2mem.c Implement 4-bit indexed textures (tentatively) Fix RGB24 support |
file | annotate | diff | log | raw |
1.1 --- a/test/lib.h Fri Aug 18 09:31:12 2006 +00001.2 +++ b/test/lib.h Tue Jan 23 11:19:32 2007 +00001.3 @@ -59,5 +59,6 @@1.4 int is_start_pressed();1.6 #define CHECK_IEQUALS( a, b ) if( a != b ) { fprintf(stderr, "Assertion failed at %s:%d: expected %08X, but was %08X\n", __FILE__, __LINE__, a, b ); return -1; }1.7 +#define DMA_ALIGN(x) ((void *)((((unsigned int)(x))+0x1F)&0xFFFFFFE0))1.9 #endif
.