#include <3ds.h>
#include <stdint.h>
#include <string.h>
#include <retro_inline.h>
#include "ctr/ctr_debug.h"
Go to the source code of this file.
◆ CTR_CPU_TICKS_PER_FRAME
#define CTR_CPU_TICKS_PER_FRAME 4481134 |
◆ CTR_CPU_TICKS_PER_SECOND
#define CTR_CPU_TICKS_PER_SECOND 268123480 |
◆ CTRGU_ATTRIBFMT
#define CTRGU_ATTRIBFMT |
( |
|
f, |
|
|
|
n |
|
) |
| ((((n)-1)<<2)|((f)&3)) |
◆ CTRGU_DMA_CONVERT_NONE
#define CTRGU_DMA_CONVERT_NONE (1 << 3) |
◆ CTRGU_DMA_L_TO_T
#define CTRGU_DMA_L_TO_T (1 << 1) |
◆ CTRGU_DMA_T_TO_L
#define CTRGU_DMA_T_TO_L (0 << 1) |
◆ CTRGU_DMA_TRUNCATE
#define CTRGU_DMA_TRUNCATE (1 << 2) |
◆ CTRGU_DMA_VFLIP
#define CTRGU_DMA_VFLIP (1 << 0) |
◆ CTRGU_MULTISAMPLE_2x1
#define CTRGU_MULTISAMPLE_2x1 (1 << 24) |
◆ CTRGU_MULTISAMPLE_2x2
#define CTRGU_MULTISAMPLE_2x2 (2 << 24) |
◆ CTRGU_MULTISAMPLE_NONE
#define CTRGU_MULTISAMPLE_NONE (0 << 24) |
◆ CTRGU_RGB565
◆ CTRGU_RGB8
◆ CTRGU_RGBA4444
#define CTRGU_RGBA4444 (4) |
◆ CTRGU_RGBA5551
#define CTRGU_RGBA5551 (3) |
◆ CTRGU_RGBA8
◆ CTRGU_SIZE
#define CTRGU_SIZE |
( |
|
W, |
|
|
|
H |
|
) |
| (((u32)(W)&0xFFFF)|((u32)(H)<<16)) |
◆ VIRT_TO_PHYS
#define VIRT_TO_PHYS |
( |
|
vaddr | ) |
|
Value:(((
u32)(vaddr)) >= 0x14000000 && ((
u32)(vaddr)) < 0x1c000000)?(
void*)((
u32)(vaddr) + 0x0c000000):\
(((
u32)(vaddr)) >= 0x1F000000 && ((
u32)(vaddr)) < 0x1F600000)?(
void*)((
u32)(vaddr) - 0x07000000):\
(((
u32)(vaddr)) >= 0x1FF00000 && ((
u32)(vaddr)) < 0x1FF80000)?(
void*)(vaddr):\
(((
u32)(vaddr)) >= 0x30000000 && ((
u32)(vaddr)) < 0x40000000)?(
void*)((
u32)(vaddr) - 0x10000000):(
void*)0
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
◆ __attribute__()
__attribute__ |
( |
(always_inline) |
| ) |
|
◆ __linear_heap
◆ __linear_heap_size
◆ data
◆ gpuCmdBuf
◆ gpuCmdBufOffset
◆ height
◆ param
◆ width