temporary workaround to make it work on windows

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12073 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2004-03-26 16:03:53 +00:00
parent dc5c9fc570
commit 582f830734
1 changed files with 3 additions and 0 deletions

View File

@ -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));