From d252cc241e0ff2270a289abba274ed43bd0b1792 Mon Sep 17 00:00:00 2001 From: coco875 <59367621+coco875@users.noreply.github.com> Date: Sat, 7 Dec 2024 03:14:48 +0100 Subject: [PATCH] Update DisplayListFactory.cpp (#734) --- src/resource/factory/DisplayListFactory.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/resource/factory/DisplayListFactory.cpp b/src/resource/factory/DisplayListFactory.cpp index 0c8be7ad0..4ab1e4698 100644 --- a/src/resource/factory/DisplayListFactory.cpp +++ b/src/resource/factory/DisplayListFactory.cpp @@ -1117,6 +1117,14 @@ std::shared_ptr ResourceFactoryXMLDisplayListV0::ReadResource(s child = child->NextSiblingElement(); } +#ifdef F3DEX_GBI_2 + dl->UCode = ucode_f3dex2; +#elif defined(F3DEX_GBI) + dl->UCode = ucode_f3dex; +#elif defined(F3D_OLD) + dl->UCode = ucode_f3d; +#endif + return dl; } } // namespace LUS