SaturnRingLibrary
0.9.1
SGL wrapper
Loading...
Searching...
No Matches
◆
AutoAllocateBmp()
static void * SRL::VDP2::VRAM::AutoAllocateBmp
(
Bitmap::BitmapInfo
&
info
,
int16_t
screen
,
int *
size
=
nullptr
)
inline
static
Automatically allocates bitmap for specified screen.
Parameters
info
Bitmap
data description
screen
The screen identifier
size
optional pointer to pass the resulting allocation size back from function
Returns
Pointer to the allocated memory
Note
The maximum allocation size supported is 0x40000 bytes (2 banks of
VRAM
).
SRL
VDP2
VRAM