Mercurial > mplayer.hg
changeset 12072:be548f4433b3
temporary workaround to make it work on windows
author | faust3 |
---|---|
date | Fri, 26 Mar 2004 16:03:53 +0000 |
parents | ab3590ad2101 |
children | 0ef56fc11e4e |
files | vidix/drivers/radeon_vid.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/drivers/radeon_vid.c Fri Mar 26 15:21:44 2004 +0000 +++ b/vidix/drivers/radeon_vid.c Fri Mar 26 16:03:53 2004 +0000 @@ -1084,6 +1084,9 @@ radeon_ram_size = 8192*1024; } #endif +#ifdef WIN32 + if(radeon_ram_size > 16*1024*1024)radeon_ram_size=16*1024*1024; +#endif if((radeon_mem_base = map_phys_mem(pci_info.base0,radeon_ram_size))==(void *)-1) return ENOMEM; memset(&besr,0,sizeof(bes_registers_t)); radeon_vid_make_default();