aboutsummaryrefslogtreecommitdiffhomepage
path: root/vidix/drivers/radeon_vid.c
diff options
context:
space:
mode:
Diffstat (limited to 'vidix/drivers/radeon_vid.c')
-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();