Skip to content

Commit

Permalink
Oops, need to compile first, before commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Sep 20, 2009
1 parent dbaebe5 commit b5cb9e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/xbios/SDL_xbios.c
Expand Up @@ -620,7 +620,7 @@ static void XBIOS_FreeBuffers(_THIS)

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);
}
Expand Down Expand Up @@ -717,7 +717,7 @@ static SDL_Surface *XBIOS_SetVideoMode(_THIS, SDL_Surface *current,
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);
Expand Down

0 comments on commit b5cb9e3

Please sign in to comment.