Skip to content

Commit 89ac6cb

Browse files
Antonio Niño DíazWinterMute
authored andcommitted
Add missing 3D registers definitions (#36)
1 parent a76bff0 commit 89ac6cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/nds/arm9/video.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,8 @@ void setBackdropColorSub(const u16 color)
728728

729729
#define GFX_CONTROL (*(vu16*) 0x04000060)
730730

731+
#define GFX_RDLINES_COUNT (*(vu32*) 0x04000320)
732+
731733
#define GFX_FIFO (*(vu32*) 0x04000400)
732734
#define GFX_STATUS (*(vu32*) 0x04000600)
733735
#define GFX_COLOR (*(vu32*) 0x04000480)
@@ -745,6 +747,7 @@ void setBackdropColorSub(const u16 color)
745747

746748
#define GFX_CLEAR_COLOR (*(vu32*) 0x04000350)
747749
#define GFX_CLEAR_DEPTH (*(vu16*) 0x04000354)
750+
#define GFX_CLRIMAGE_OFFSET (*(vu16*) 0x04000356)
748751

749752
#define GFX_LIGHT_VECTOR (*(vu32*) 0x040004C8)
750753
#define GFX_LIGHT_COLOR (*(vu32*) 0x040004CC)

0 commit comments

Comments
 (0)