Added a ML_background function. This is faster than an ML_bmp_or call.

This commit is contained in:
Darks 2016-04-27 00:52:39 +02:00
parent 7e2e3c16e8
commit 25eaa3fbd2
1 changed files with 12 additions and 0 deletions

View File

@ -1284,3 +1284,15 @@ void ML_bmp_16_xor_cl(const unsigned short *bmp, int x, int y)
}
#endif
#ifdef ML_BACKGROUND
void ML_background(const unsigned char* back)
{
int i;
char *vram = ML_vram_adress();
for(i = 0; i < 1024; i++)
{
vram[i] = back[i];
}
}
#endif