SaturnRingLibrary 0.9
SGL wrapper
 
Loading...
Searching...
No Matches

◆ GetPalOffset()

template<class ScreenType , int16_t Id, uint16_t On>
static uint32_t SRL::VDP2::ScrollScreen< ScreenType, Id, On >::GetPalOffset ( int8_t paletteID = -1)
inlinestatic

Gets the Pallet Bank That must be included in Map Data to Reference a Palette in CRAM.

Parameters
paletteID(optional) specify to reference an arbitrary palette, otherwise uses Id from ScrollScreen::TilePalette
Returns
The Formatted Palette ID to be included in Map Indicies to reference a specified palette