Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19326 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a1ab7a55ff
commit
b2dd3c210e
2 changed files with 3 additions and 3 deletions
|
@ -32,9 +32,9 @@
|
||||||
/* must be 16Kb (0x4000) aligned */
|
/* must be 16Kb (0x4000) aligned */
|
||||||
#if 0
|
#if 0
|
||||||
#define MEM_END 0x00900000 + (MEM*0x00100000)
|
#define MEM_END 0x00900000 + (MEM*0x00100000)
|
||||||
#define TTB_BASE ((unsigned int *)(MEM_END - TTB_SIZE)) /* End of memory */
|
#define TTB_BASE ((unsigned long *)(MEM_END - TTB_SIZE)) /* End of memory */
|
||||||
#else
|
#else
|
||||||
#define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */
|
#define TTB_BASE ((unsigned long *)(0x04900000 - TTB_SIZE)) /* End of memory */
|
||||||
#endif
|
#endif
|
||||||
#define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */
|
#define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#define TTB_BASE_ADDR (0x80100000 + 0x00100000 - TTB_SIZE)
|
#define TTB_BASE_ADDR (0x80100000 + 0x00100000 - TTB_SIZE)
|
||||||
#define TTB_SIZE (0x4000)
|
#define TTB_SIZE (0x4000)
|
||||||
#define IRAM_SIZE (0x4000)
|
#define IRAM_SIZE (0x4000)
|
||||||
#define TTB_BASE ((unsigned int *)TTB_BASE_ADDR)
|
#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR)
|
||||||
#define FRAME ((void*)0x03f00000)
|
#define FRAME ((void*)0x03f00000)
|
||||||
#define FRAME_SIZE (240*320*2)
|
#define FRAME_SIZE (240*320*2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue