Newer
Older
AMI-Aptio-BIOS-Reversed / PurleyPlatPkg / Platform / Pei / EarlyVideoPei / ImageRenderReadPixel.c
@Ajax Dong Ajax Dong 2 days ago 331 bytes Full restructure
int __fastcall ImageRenderReadPixel(unsigned int *p_count, int a2, int Pool)
{
  int result; // eax
  unsigned int *p_count_1; // eax

  result = a2;
  if ( a2 )
  {
    p_count_1 = ImageRenderRle(a2, Pool);
    if ( p_count_1 )
      return ImageRenderSetPixel(p_count, p_count_1);
    else
      return -1;
  }
  return result;
}