lib fixes, J3D included

This commit is contained in:
Jasper St. Pierre
2023-09-12 00:11:53 -07:00
parent f167a3e8b9
commit 06ec97aade
3 changed files with 26 additions and 7 deletions
+4 -1
View File
@@ -5,7 +5,6 @@
#include "JSystem/J3DGraphBase/J3DTevs.h"
#include "JSystem/J3DGraphBase/J3DTexture.h"
#include "dolphin/types.h"
#include "m_Do/m_Do_lib.h"
struct J3DGXColorS10 : public GXColorS10 {
/* 8000E460 */ J3DGXColorS10() {}
@@ -593,6 +592,10 @@ struct J3DAlphaCompInfo {
extern const u16 j3dDefaultAlphaCmpID;
inline u32 calcAlphaCmpID(u32 param_1, u32 param_2, u32 param_3) {
return ((param_1 & 0xff) << 5) + ((param_2 & 0xff) << 3) + (param_3 & 0xff);
}
struct J3DAlphaComp {
J3DAlphaComp() {
field_0x0 = j3dDefaultAlphaCmpID;