diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-10-20 18:03:43 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-10-20 18:03:43 +0000 |
commit | 91294fea436549a14d1c672b9a2073e17fb6d9c0 (patch) | |
tree | 432407ae43b63eb99e9ea03dd1febeb20cd950d3 /vidix/drivers | |
parent | 797ace2f695a5a42394eb57674f41f990102a3bc (diff) | |
download | mpv-91294fea436549a14d1c672b9a2073e17fb6d9c0.tar.bz2 mpv-91294fea436549a14d1c672b9a2073e17fb6d9c0.tar.xz |
mach64_mmio size fix from vidix.sf.net, possible bugfix for #59
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16821 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/drivers')
-rw-r--r-- | vidix/drivers/mach64_vid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vidix/drivers/mach64_vid.c b/vidix/drivers/mach64_vid.c index 13547bb1c2..2bde0803b6 100644 --- a/vidix/drivers/mach64_vid.c +++ b/vidix/drivers/mach64_vid.c @@ -465,7 +465,7 @@ int vixInit(void) } if(__verbose>0) printf("[mach64] version %s\n", VERSION); - if((mach64_mmio_base = map_phys_mem(pci_info.base2,0x4000))==(void *)-1) return ENOMEM; + if((mach64_mmio_base = map_phys_mem(pci_info.base2,0x1000))==(void *)-1) return ENOMEM; mach64_wait_for_idle(); mach64_ram_size = INREG(MEM_CNTL) & CTL_MEM_SIZEB; if (mach64_ram_size < 8) mach64_ram_size = (mach64_ram_size + 1) * 512; @@ -522,7 +522,7 @@ void vixDestroy(void) OUTREG(OVERLAY_GRAPHICS_KEY_CLR,SAVED_OVERLAY_GRAPHICS_KEY_CLR); unmap_phys_mem(mach64_mem_base,mach64_ram_size); - unmap_phys_mem(mach64_mmio_base,0x4000); + unmap_phys_mem(mach64_mmio_base,0x1000); } int vixGetCapability(vidix_capability_t *to) |