Home
last modified time | relevance | path

Searched refs:new_screen_size (Results 1 – 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
DSDL_xbios.c511 Uint32 new_screen_size; in XBIOS_SetVideoMode() local
552 new_screen_size = width * height * ((new_depth)>>3); in XBIOS_SetVideoMode()
553 new_screen_size += 256; /* To align on a 256 byte adress */ in XBIOS_SetVideoMode()
556 XBIOS_shadowscreen = Atari_SysMalloc(new_screen_size, MX_PREFTTRAM); in XBIOS_SetVideoMode()
559 SDL_SetError("Can not allocate %d KB for shadow buffer", new_screen_size>>10); in XBIOS_SetVideoMode()
562 SDL_memset(XBIOS_shadowscreen, 0, new_screen_size); in XBIOS_SetVideoMode()
568 new_screen_size <<= 1; in XBIOS_SetVideoMode()
572 XBIOS_screensmem[0] = Atari_SysMalloc(new_screen_size, MX_STRAM); in XBIOS_SetVideoMode()
576 SDL_SetError("Can not allocate %d KB for frame buffer", new_screen_size>>10); in XBIOS_SetVideoMode()
579 SDL_memset(XBIOS_screensmem[0], 0, new_screen_size); in XBIOS_SetVideoMode()
[all …]