summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase
diff options
context:
space:
mode:
authorlepelog <25211966+lepelog@users.noreply.github.com>2022-06-30 23:24:35 +0200
committerlepelog <25211966+lepelog@users.noreply.github.com>2022-07-01 00:12:01 +0200
commite71aa4578de3e44671175786b8dcc44195f39638 (patch)
treef0719247da03b26e03c0e3d89a21ffc6f2454760 /include/JSystem/J3DGraphBase
parent046d178003035ea87d3042a61917c2d482c68c74 (diff)
move inlines
Diffstat (limited to 'include/JSystem/J3DGraphBase')
-rw-r--r--include/JSystem/J3DGraphBase/J3DGD.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DGD.h b/include/JSystem/J3DGraphBase/J3DGD.h
index 246c6bb65a..6cd5659f57 100644
--- a/include/JSystem/J3DGraphBase/J3DGD.h
+++ b/include/JSystem/J3DGraphBase/J3DGD.h
@@ -2,5 +2,12 @@
#define J3DGD_H
#include "dolphin/types.h"
+#include "dolphin/gx/GX.h"
+
+static inline void J3DFifoLoadIndx(u8 cmd, u16 indx, u16 addr) {
+ GFX_FIFO(u8) = cmd;
+ GFX_FIFO(u16) = indx;
+ GFX_FIFO(u16) = addr;
+}
#endif /* J3DGD_H */