diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/creative-zvm/lcd-creativezvm.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/creative-zvm/lcd-creativezvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/lcd-creativezvm.c b/firmware/target/arm/tms320dm320/creative-zvm/lcd-creativezvm.c index 5f623dc239..9621b532fe 100644 --- a/firmware/target/arm/tms320dm320/creative-zvm/lcd-creativezvm.c +++ b/firmware/target/arm/tms320dm320/creative-zvm/lcd-creativezvm.c | |||
@@ -251,7 +251,7 @@ void lcd_set_direct_fb(bool yes) | |||
251 | unsigned int addr; | 251 | unsigned int addr; |
252 | direct_fb_access = yes; | 252 | direct_fb_access = yes; |
253 | if(yes) | 253 | if(yes) |
254 | addr = ((unsigned int)&lcd_framebuffer-CONFIG_SDRAM_START) / 32; | 254 | addr = ((unsigned int)FBADDR(0,0)-CONFIG_SDRAM_START) / 32; |
255 | else | 255 | else |
256 | addr = ((unsigned int)FRAME-CONFIG_SDRAM_START) / 32; | 256 | addr = ((unsigned int)FRAME-CONFIG_SDRAM_START) / 32; |
257 | IO_OSD_OSDWINADH = addr >> 16; | 257 | IO_OSD_OSDWINADH = addr >> 16; |