dostunnel

diff src/wvga.c @ 3:a8024271c662

added timer
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 16 Mar 2013 03:35:08 +0200
parents c525cfbfd4a2
children
line diff
     1.1 --- a/src/wvga.c	Fri Mar 15 19:55:29 2013 +0200
     1.2 +++ b/src/wvga.c	Sat Mar 16 03:35:08 2013 +0200
     1.3 @@ -25,7 +25,7 @@
     1.4  	}
     1.5  
     1.6  	if(mode != 3) {
     1.7 -		framebuffer = (void*)dpmi_mmap((void*)0xa0000, 64000);
     1.8 +		framebuffer = dpmi_mmap(0xa0000, 64000);
     1.9  	} else {
    1.10  		dpmi_munmap((void*)0xa0000);
    1.11  	}