aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-03-26 16:03:53 +0000
committerGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-03-26 16:03:53 +0000
commit582f8307347b6902a7bfa17e4b14b953184daaf2 (patch)
treebbfe3b609ab34a6f86587830119bccb7f4e12b48
parentdc5c9fc570112125012eead3a6b1f025ad9c522d (diff)
temporary workaround to make it work on windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12073 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--vidix/drivers/radeon_vid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vidix/drivers/radeon_vid.c b/vidix/drivers/radeon_vid.c
index ccda9d8438..a5dd95d647 100644
--- a/vidix/drivers/radeon_vid.c
+++ b/vidix/drivers/radeon_vid.c
@@ -1084,6 +1084,9 @@ int vixInit( void )
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();