Home | History | Annotate | Download | only in riscos

Lines Matching refs:bank

143 	this->hidden->bank[0] = buffer + 60; /* Start of sprite data */
144 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */
146 this->hidden->bank[1] = buffer; /* Start of buffer */
163 SDL_memset(this->hidden->bank[0], 0, height * current->pitch);
166 current->pixels = this->hidden->bank[0];
357 unsigned int *pal = (unsigned int *)(this->hidden->bank[1]+60);
450 if (this->hidden->bank[0] == this->hidden->alloc_bank || riscos_backbuffer == 0)
459 SDL_memcpy(data, this->hidden->bank[0], width * height * this->screen->format->BytesPerPixel);
463 old_bank[0] = this->hidden->bank[0];
464 old_bank[1] = this->hidden->bank[1];
469 this->hidden->bank[1] = this->hidden->alloc_bank;
470 this->hidden->bank[0] = this->hidden->bank[1] + 60; /* Start of sprite data */
471 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */
474 this->screen->pixels = this->hidden->bank[0];
491 this->hidden->bank[0] = old_bank[0];
492 this->hidden->bank[1] = old_bank[1];