nn::gx::CTR::GetPhysicalAddr Function
uptr GetPhysicalAddr(
uptr virtualAddr
);
| Name | Description | |
|---|---|---|
| in | virtualAddr | The logical address to convert |
Converts a virtual address into a physical address.
Use this function when you need to embed a physical address when directly generating graphics command lists. Do not use it for any other purpose.
Only supports converting device memory region and VRAM region addresses.
CONFIDENTIAL