{
int i, j, tx, ty, angle, depth, nframes, backbuf, zoffs;
static uint16_t *vram[] = { (uint16_t*)VRAM_LFB_FB0_ADDR, (uint16_t*)VRAM_LFB_FB1_ADDR };
{
int i, j, tx, ty, angle, depth, nframes, backbuf, zoffs;
static uint16_t *vram[] = { (uint16_t*)VRAM_LFB_FB0_ADDR, (uint16_t*)VRAM_LFB_FB1_ADDR };
fillblock_16byte(vram[0], 0xffffffff, 240 * 160 / 16);
fillblock_16byte(vram[1], 0xffffffff, 240 * 160 / 16);
fillblock_16byte(vram[0], 0xffffffff, 240 * 160 / 16);
fillblock_16byte(vram[1], 0xffffffff, 240 * 160 / 16);
- if(!(tuncache = malloc(240 * 160 * 2))) {
- panic(get_pc(), "failed to allocate tuntab");
- }
- memcpy(tuncache, tunmap, 240 * 160 * 2);