summaryrefslogtreecommitdiff
path: root/src/d/d_particle.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-11-10 21:25:00 -0500
committerGitHub <noreply@github.com>2025-11-10 18:25:00 -0800
commit23a1c940630435eaa0bbca45fb24156fc0d3db62 (patch)
treec2b05e860562425bd3147046e19bcf8130ad4625 /src/d/d_particle.cpp
parenta02f72d8f3a87a2d2ddde062301d3639050e1e35 (diff)
Regalloc/debug/misc fixes (#2794)
* Fix "0" asserts * More debug and regalloc fixes * Fix PTMF syntax for compatibility with other compilers * Fix some fakematches, link more TUs for J/P
Diffstat (limited to 'src/d/d_particle.cpp')
-rw-r--r--src/d/d_particle.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/d/d_particle.cpp b/src/d/d_particle.cpp
index 0ef5810063..6ff34964e9 100644
--- a/src/d/d_particle.cpp
+++ b/src/d/d_particle.cpp
@@ -2117,7 +2117,7 @@ void dPa_gen_b_light8PcallBack::draw(JPABaseEmitter* param_1, JPABaseParticle* p
JGeometry::TVec3<f32> aTStack_a4;
JGeometry::TVec3<f32> aTStack_b0;
JGeometry::TVec3<f32> local_bc;
- u8 uVar7 = param_1->getGlobalAlpha() & 0xff;
+ u8 uVar7 = param_1->getGlobalAlpha();
JGeometry::TVec3<f32> local_c8;
JGeometry::TVec3<f32> local_d4;
JGeometry::TVec3<f32> local_e0;
@@ -2138,10 +2138,7 @@ void dPa_gen_b_light8PcallBack::draw(JPABaseEmitter* param_1, JPABaseParticle* p
local_80[1][3] = local_8c.y;
local_80[2][2] = 1.0f;
local_80[2][3] = local_8c.z;
- local_80[2][1] = 0.0f;
- local_80[2][0] = 0.0f;
- local_80[1][2] = 0.0f;
- local_80[0][2] = 0.0f;
+ local_80[0][2] = local_80[1][2] = local_80[2][0] = local_80[2][1] = 0.0f;
GXLoadPosMtxImm(local_80, 0);
GXLoadNrmMtxImm(local_80, 0);
JGeometry::TVec3<f32> local_104;