mirror of
https://github.com/zeldaret/tp
synced 2026-07-07 14:13:27 -04:00
Work on J3DMaterial
This commit is contained in:
@@ -20,6 +20,10 @@ inline void GDSetCurrent(GDLObj* obj) {
|
||||
__GDCurrentDL = obj;
|
||||
}
|
||||
|
||||
inline void __GDWrite(u8 data) {
|
||||
*__GDCurrentDL->ptr++ = data;
|
||||
}
|
||||
|
||||
inline u32 GDGetGDLObjOffset(GDLObj* obj) {
|
||||
return (u32)(obj->ptr - obj->start);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user