#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.
None.
2006/03/01 Initial version.
CONFIDENTIAL