diff --git a/src/Debugger.cpp b/src/Debugger.cpp index 4006e481..c98c5236 100644 --- a/src/Debugger.cpp +++ b/src/Debugger.cpp @@ -231,6 +231,8 @@ void Debugger::_fillTriInfo(TriInfo & _info) _info.env_color = gDP.envColor; _info.fill_color = gDP.fillColor; _info.prim_color = gDP.primColor; + _info.K4 = gDP.convert.k4; + _info.K5 = gDP.convert.k5; _info.viewport = gSP.viewport; _info.frameBufferAddress = gDP.colorImage.address; @@ -755,6 +757,8 @@ void Debugger::_drawColors(f32 _ulx, f32 _uly, f32 _yShift) OUTPUT_COLOR("fog: r %.2f g %.2f b %.2f a %.2f", fog.r, fog.g, fog.b, fog.a); const gDPInfo::Color & blend = m_triSel->blend_color; OUTPUT_COLOR("blend: r %.2f g %.2f b %.2f a %.2f", blend.r, blend.g, blend.b, blend.a); + OUTPUT1("K4: %02x", m_triSel->K4); + OUTPUT1("K5: %02x", m_triSel->K5); OUTPUT1("prim_lodmin: %.2f", prim.m); OUTPUT1("prim_lodfrac: %.2f", prim.l); const gDPInfo::FillColor & fill = m_triSel->fill_color; diff --git a/src/Debugger.h b/src/Debugger.h index a0ecfcd0..8d08c148 100644 --- a/src/Debugger.h +++ b/src/Debugger.h @@ -98,6 +98,7 @@ private: gDPInfo::Color env_color; gDPInfo::FillColor fill_color; gDPInfo::PrimColor prim_color; + s32 K4, K5; f32 getScreenX(const Vertex & _v) const; f32 getScreenY(const Vertex & _v) const;