From: John Hodge Date: Wed, 19 Oct 2011 12:50:02 +0000 (+0800) Subject: Modules/PL110 - Helps if I fix this too X-Git-Tag: rel0.13~30 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d511c2fe7492d6a1ba35db7f9078d3fd4b73b166;p=tpg%2Facess2.git Modules/PL110 - Helps if I fix this too --- diff --git a/Modules/Display/PL110/main.c b/Modules/Display/PL110/main.c index 99a982f2..4f6ab777 100644 --- a/Modules/Display/PL110/main.c +++ b/Modules/Display/PL110/main.c @@ -135,7 +135,8 @@ Uint64 PL110_Read(tVFS_Node *node, Uint64 off, Uint64 len, void *buffer) */ Uint64 PL110_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer) { - return DrvUtil_Video_WriteLFB(giPL110_BufferMode, &gPL110_DrvUtil_BufInfo, Offset, Length, Buffer); + gPL110_DrvUtil_BufInfo.BufferFormat = giPL110_BufferMode; + return DrvUtil_Video_WriteLFB(&gPL110_DrvUtil_BufInfo, Offset, Length, Buffer); } const char *csaPL110_IOCtls[] = {DRV_IOCTLNAMES, DRV_VIDEO_IOCTLNAMES, NULL};