[Mplayer-cvslog] CVS: main/vidix/drivers mga_vid.c,1.18,1.19

Alex Beregszaszi alex at naxine.org
Thu Nov 7 14:44:40 CET 2002


Hi,

> Index: mga_vid.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/vidix/drivers/mga_vid.c,v
> retrieving revision 1.18
> retrieving revision 1.19
> diff -u -r1.18 -r1.19
> --- mga_vid.c	28 Aug 2002 22:45:48 -0000	1.18
> +++ mga_vid.c	6 Nov 2002 23:54:29 -0000	1.19
> @@ -777,7 +777,7 @@
>      	return(EFAULT);
>      }
>      mga_src_base &= (~0xFFFF); /* 64k boundary */
> -    if (mga_verbose > 1) printf("[mga] YUV buffer base: %p\n", mga_src_base);
> +    if (mga_verbose > 1) printf("[mga] YUV buffer base: %#x\n", mga_src_base);
why %#x ?

>  
>      config->dga_addr = mga_mem_base + mga_src_base;
>  
> @@ -1325,7 +1325,7 @@
>  	}
>      }
>  
> -    if (mga_verbose > 1) printf("[mga] hardware addresses: mmio: %p, framebuffer: %p\n",
> +    if (mga_verbose > 1) printf("[mga] hardware addresses: mmio: %#x, framebuffer: %#x\n",
>          pci_info.base1, pci_info.base0);
>  
>      mga_mmio_base = map_phys_mem(pci_info.base1,0x4000);

-- 
Alex Beregszaszi  <alex at naxine.org>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-cvslog mailing list