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

◆ AutoAllocateMap()

void * SRL::VDP2::VRAM::AutoAllocateMap ( Tilemap::TilemapInfo & info,
int16_t screen,
int * size = nullptr )
inlinestatic

Automatically allocates map data for specified screen.

Parameters
infoTile map data description
screenThe screen identifier
sizeOptional pointer to pass the resulting allocation size back to
Returns
Pointer to the allocated memory
Note
The Maximum supported allocation size is 0x20000 bytes (1 Bank). Single Allocations can not be split between multiple banks.