From a256878e773000c2ac6e070b3ce115a0363ebea7 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 25 Oct 2007 07:44:56 +0000 Subject: enable jpeg, mpegplayer and midiplay on the mr500 (only jpeg is actually usable though, mpegplayer data aborts) fix the config which should have been done a few commits ago git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15296 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/dm320.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/dm320.h') diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h index 4dfc55dcd3..57ffc8667a 100644 --- a/firmware/export/dm320.h +++ b/firmware/export/dm320.h @@ -28,7 +28,7 @@ #define TTB_SIZE (0x4000) /* must be 16Kb (0x4000) aligned */ #define TTB_BASE ((unsigned int *)(0x04900000 - TTB_SIZE)) /* End of memory */ -#define FRAME ((short *) (TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ +#define FRAME ((short *) ((char*)TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */ #define PHY_IO_BASE 0x00030000 #define DM320_REG(addr) (*(volatile unsigned short *)(PHY_IO_BASE + (addr))) -- cgit v1.2.3