changeset 4200:907624b7a72c SDL-1.2

Oops, need to compile first, before commit.
author Patrice Mandin <patmandin@gmail.com>
date Sun, 20 Sep 2009 12:48:51 +0000
parents 4c92a3d196f1
children b10a73ebd7fd
files src/video/xbios/SDL_xbios.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios.c	Sun Sep 20 12:46:46 2009 +0000
+++ b/src/video/xbios/SDL_xbios.c	Sun Sep 20 12:48:51 2009 +0000
@@ -620,7 +620,7 @@
 
 	for (i=0;i<2;i++) {
 		if (XBIOS_screensmem[i]!=NULL) {
-			if ((XBIOS_cvdo>>16) == VDO_MILAN)) {
+			if ((XBIOS_cvdo>>16) == VDO_MILAN) {
 				if (i==1) {
 					VsetScreen(-1, -1, MI_MAGIC, CMD_FREEPAGE);
 				}
@@ -717,7 +717,7 @@
 			if (i==0) {
 				XBIOS_screensmem[i] = XBIOS_oldvbase;
 			} else {
-				XBIOS_screensmem[i] = VsetScreen(-1, new_video_mode->number, MI_MAGIC, CMD_ALLOCPAGE);
+				VsetScreen(-1, &XBIOS_screensmem[i], MI_MAGIC, CMD_ALLOCPAGE);
 			}
 		} else {
 			XBIOS_screensmem[i] = Atari_SysMalloc(new_screen_size, MX_STRAM);