Modules/PL110 - Helps if I fix this too
[tpg/acess2.git] / Modules / Display / PL110 / main.c
index 99a982f..4f6ab77 100644 (file)
@@ -135,7 +135,8 @@ Uint64 PL110_Read(tVFS_Node *node, Uint64 off, Uint64 len, void *buffer)
  */\r
 Uint64 PL110_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer)\r
 {\r
-       return DrvUtil_Video_WriteLFB(giPL110_BufferMode, &gPL110_DrvUtil_BufInfo, Offset, Length, Buffer);\r
+       gPL110_DrvUtil_BufInfo.BufferFormat = giPL110_BufferMode;\r
+       return DrvUtil_Video_WriteLFB(&gPL110_DrvUtil_BufInfo, Offset, Length, Buffer);\r
 }\r
 \r
 const char *csaPL110_IOCtls[] = {DRV_IOCTLNAMES, DRV_VIDEO_IOCTLNAMES, NULL};\r

UCC git Repository :: git.ucc.asn.au