SaturnRingLibrary
0.9.2
SGL wrapper
Loading...
Searching...
No Matches
◆
Map2VRAM()
template<class ScreenType, int16_t Id, uint16_t On>
void
SRL::VDP2::ScrollScreen
< ScreenType, Id, On >::Map2VRAM
(
SRL::Tilemap::TilemapInfo
&
info
,
uint16_t *
mapData
,
void *
mapAdr
,
uint8_t
paloff
,
uint32_t
mapoff
)
inline
static
Copies map data to
VRAM
and applies necessary offsets (adapted from
SGL
Samples).
Parameters
info
Tilemap
data config.
mapData
Map data to copy to
VRAM
.
mapAdr
VRAM
address to copy map to .
paloff
Palette index in
CRAM
.
mapoff
offset added when Cell data does not start at bank boundary .
SRL
VDP2
ScrollScreen