feat(gx): remove placeholder gx caps (#45)

This commit is contained in:
fallenoak authored and GitHub committed 2023-03-09 22:29:33 -06:00
1 parent 0e0b57fce9
commit 907c3faf8f
14 files changed
+57 -61

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ int32_t CM2Cache::Initialize(uint32_t flags) {
// TODO
if (flags & 0x8) {
if (GxCaps()->m_vertexShaderTarget > GxShVS_none && GxCaps()->m_pixelShaderTarget > GxShPS_none) {
if (GxCaps().m_vertexShaderTarget > GxShVS_none && GxCaps().m_pixelShaderTarget > GxShPS_none) {
this->m_flags |= 0x8;
}
}
+1 -1
View File
@@ -62,7 +62,7 @@ void CM2Scene::ComputeElementShaders(M2Element* element) {
}
}
int32_t v9 = v18 && (/* TODO !GxCaps()->dword130 ||*/ v8);
int32_t v9 = v18 && (/* TODO !GxCaps().dword130 ||*/ v8);
int32_t v10 = std::min(boneInfluences, 2);
int32_t v11 = std::min(v8, 2);