Closed dogo closed 2 months ago
Added Doxygen documentation to vram_mgr.h, covering all macros, global variables, and functions related to VRAM management in OSLib.
vram_mgr.h
OSL_VRAM_SIZE
OSL_VRAM_BASE
OSL_VRAM_END
osl_useVramManager
osl_currentVramPtr
oslVramMgrInit()
oslVramMgrAllocBlock(int blockSize)
oslVramMgrFreeBlock(void *blockAddress, int blockSize)
oslVramMgrSetParameters(void *adrStart, int size)
This improves code clarity and aids future maintenance.
Summary
Added Doxygen documentation to
vram_mgr.h
, covering all macros, global variables, and functions related to VRAM management in OSLib.Key Points
OSL_VRAM_SIZE
,OSL_VRAM_BASE
, andOSL_VRAM_END
.osl_useVramManager
andosl_currentVramPtr
.oslVramMgrInit()
: Initializes the VRAM manager.oslVramMgrAllocBlock(int blockSize)
: Allocates a block of VRAM.oslVramMgrFreeBlock(void *blockAddress, int blockSize)
: Frees a VRAM block.oslVramMgrSetParameters(void *adrStart, int size)
: Configures VRAM parameters.This improves code clarity and aids future maintenance.