pvsneslib
pvsneslib copied to clipboard
[Feature] setModeHdmaWindowEx
Feature request
Create the function setModeHdmaWindowEx where channel numbers can be passed in parameters:
/*! \fn setModeHdmaWindow(u8 bgrnd, u8* hdmatableL,u8* hdmatableR)
\brief Do a window effect on screen. Use HDAM Channels 4 & 5.
\param bgrnd background for the windows effect (value MSWIN_BG1..MSWIN_BG4)
\param bgrndmask background mask (inside, outside) for the windows effect (value MSWIN1_BG13MSKIN..MSWIN1_BG13MSKIN)
\param hdmatableL table with windows effect on the left
\param hdmatableR table with windows effect on the right
\param channel1 the channel 1
\param channel2 the channel 2
*/
void setModeHdmaWindowEx(u8 bgrnd, u8 bgrndmask,u8* hdmatableL,u8* hdmatableR, u8 channel1, u8 channel2);
So it allows to use other channels than the default channels 4 and 5.
Is it possible to create this function?