#include <revolution/vi.h>
#define VIPadFrameBufferWidth(width) \
((u16)(((u16)(width) + 15) & ~15))
width |
the width of the XFB in pixels |
An unsigned 16-bit integer rounded up to the nearest 16-pixel boundary.
This function rounds up width to the nearest 16-pixel boundary.
2006/03/01 Initial version.
CONFIDENTIAL