From 582f8307347b6902a7bfa17e4b14b953184daaf2 Mon Sep 17 00:00:00 2001 From: faust3 Date: Fri, 26 Mar 2004 16:03:53 +0000 Subject: temporary workaround to make it work on windows git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12073 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/drivers/radeon_vid.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vidix') 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 @@ -1083,6 +1083,9 @@ int vixInit( void ) printf(RADEON_MSG" Workarounding buggy Rage Mobility M3 (0 vs. 8MB ram)\n"); 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)); -- cgit v1.2.3