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

master
Darks 7 years ago
parent 7e2e3c16e8
commit 25eaa3fbd2
  1. 12
      MonochromeLib.c

@ -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

Loading…
Cancel
Save