Think of it like memcpy( PatternBuf, &PatternTable [PatternIdx], PLANESIZE )
memcpy( PatternBuf, &PatternTable [PatternIdx], PLANESIZE )
Please use code tags when posting code.