Oops, need to compile first, before commit. SDL-1.2
authorPatrice Mandin <patmandin@gmail.com>
Sun, 20 Sep 2009 12:48:51 +0000
branchSDL-1.2
changeset 4200907624b7a72c
parent 4199 4c92a3d196f1
child 4201 b10a73ebd7fd
Oops, need to compile first, before commit.
src/video/xbios/SDL_xbios.c
     1.1 --- a/src/video/xbios/SDL_xbios.c	Sun Sep 20 12:46:46 2009 +0000
     1.2 +++ b/src/video/xbios/SDL_xbios.c	Sun Sep 20 12:48:51 2009 +0000
     1.3 @@ -620,7 +620,7 @@
     1.4  
     1.5  	for (i=0;i<2;i++) {
     1.6  		if (XBIOS_screensmem[i]!=NULL) {
     1.7 -			if ((XBIOS_cvdo>>16) == VDO_MILAN)) {
     1.8 +			if ((XBIOS_cvdo>>16) == VDO_MILAN) {
     1.9  				if (i==1) {
    1.10  					VsetScreen(-1, -1, MI_MAGIC, CMD_FREEPAGE);
    1.11  				}
    1.12 @@ -717,7 +717,7 @@
    1.13  			if (i==0) {
    1.14  				XBIOS_screensmem[i] = XBIOS_oldvbase;
    1.15  			} else {
    1.16 -				XBIOS_screensmem[i] = VsetScreen(-1, new_video_mode->number, MI_MAGIC, CMD_ALLOCPAGE);
    1.17 +				VsetScreen(-1, &XBIOS_screensmem[i], MI_MAGIC, CMD_ALLOCPAGE);
    1.18  			}
    1.19  		} else {
    1.20  			XBIOS_screensmem[i] = Atari_SysMalloc(new_screen_size, MX_STRAM);