From 654b451ddc6cf25db201b2c858948f430784cc5f Mon Sep 17 00:00:00 2001 From: Bassel Alshmali Date: Mon, 16 Mar 2026 19:07:34 +0100 Subject: add GBIMinorVersion for width - 1 in DisplayListFactory --- src/Companion.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Companion.cpp') diff --git a/src/Companion.cpp b/src/Companion.cpp index 08022d5..5fa80a6 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -83,7 +83,6 @@ #include "factories/pm64/ImgFXAnimFactory.h" #include "factories/pm64/TitleDataFactory.h" #include "factories/pm64/EntityGfxFactory.h" -#include "factories/pm64/EffectDListFactory.h" #endif #ifdef FZERO_SUPPORT @@ -211,7 +210,6 @@ void Companion::Init(const ExportType type, std::atomic& assetCount) { this->RegisterFactory("PM64:IMGFX_ANIM", std::make_shared()); this->RegisterFactory("PM64:TITLE_DATA", std::make_shared()); this->RegisterFactory("PM64:ENTITY_GFX", std::make_shared()); - this->RegisterFactory("PM64:EFFECT_DL", std::make_shared()); #endif #ifdef SF64_SUPPORT @@ -1202,6 +1200,9 @@ void Companion::Process(std::atomic& assetCount) { this->gConfig.gbi.version = GBIVersion::f3db; } else if(key == "F3DEX2") { this->gConfig.gbi.version = GBIVersion::f3dex2; + } else if(key == "F3DEX2_PM64") { + this->gConfig.gbi.version = GBIVersion::f3dex2; + this->gConfig.gbi.subversion = GBIMinorVersion::PM64; } else if(key == "F3DEXB") { this->gConfig.gbi.version = GBIVersion::f3dexb; } else if (key == "F3DEX_MK64") { -- cgit v1.2.3