Fixed the EnvP array passed to Proc_StartUser not being NULL terminated
[tpg/acess2.git] / Kernel / drv / vga.c
index b0c9662..ff83e53 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Acess2 VGA Controller Driver
  */
+#define DEBUG  0
 #include <acess.h>
 #include <fs_devfs.h>
 #include <tpl_drv_video.h>
@@ -98,6 +99,10 @@ int VGA_IOCtl(tVFS_Node *Node, int Id, void *Data)
                ((tVideo_IOCtl_Mode*)Data)->height = VGA_HEIGHT;
                ((tVideo_IOCtl_Mode*)Data)->bpp = 4;
                return 1;
+       
+       case VIDEO_IOCTL_SETBUFFORMAT:
+               return 0;
+       
        case VIDEO_IOCTL_SETCURSOR:
                VGA_int_SetCursor( ((tVideo_IOCtl_Pos*)Data)->x, ((tVideo_IOCtl_Pos*)Data)->y );
                return 1;

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