Code: Select all
/**
@brief sets the backdrop color of the main engine.
the backdrop color is displayed when all pixels at a given location are transparent
(no sprite or background is visible there).
@param color the color that the backdrop of the main engine should display.
*/
static inline void setBackdropColor(const u16 color)
{
BG_PALETTE[0] = color;
}
/**
@brief sets the backdrop color of the sub engine.
the backdrop color is displayed when all pixels at a given location are transparent
(no sprite or background is visible there).
@param color the color that the backdrop of the sub engine should display.
*/
static inline void setBackdropColorSub(const u16 color)
{
BG_PALETTE_SUB[0] = color;
}