diff --git a/pcsx2/Linux/pcsx2.cbp b/pcsx2/Linux/pcsx2.cbp
index e80f4e6a89..17fa299597 100644
--- a/pcsx2/Linux/pcsx2.cbp
+++ b/pcsx2/Linux/pcsx2.cbp
@@ -510,6 +510,11 @@
+
+
+
+
+
diff --git a/plugins/spu2-x/src/Linux/Config.h b/plugins/spu2-x/src/Linux/Config.h
index 4c3c38c77d..ddc0942bb2 100644
--- a/plugins/spu2-x/src/Linux/Config.h
+++ b/plugins/spu2-x/src/Linux/Config.h
@@ -69,7 +69,7 @@ static __forceinline bool RegDump() { return _RegDump & DebugEnabled; }*/
extern int Interpolation;
extern int ReverbBoost;
extern bool EffectsDisabled;
-extern bool postprocess_filter_enabled = 1;
+extern bool postprocess_filter_enabled;
extern int AutoDMAPlayRate[2];
diff --git a/plugins/zzogl-pg/opengl/Regs.cpp b/plugins/zzogl-pg/opengl/Regs.cpp
index 062e425f3a..30d47cdf4b 100644
--- a/plugins/zzogl-pg/opengl/Regs.cpp
+++ b/plugins/zzogl-pg/opengl/Regs.cpp
@@ -42,6 +42,42 @@ u32 s_uClampData[2] = {0, };
//u32 results[65535] = {0, };
+// Note that not all the registers are currently handled, even if they write values out.
+// For reference, I'm starting a list of unhandled flags here. I'm sure I missed some,
+// so feel free to add to this, or remove ones that are handled that I missed.
+// Cases where these values are set would be useful, too.
+//
+// In GIFRegHandlerFOG, I don't see gs.vertexregs.f being used anywhere afterwards.
+// GIFRegHandlerTEX1 doesn't look like anything other then mmag and mmin are handled.
+// This includes:
+// lcm - the lod (level of detail) calculation method. If 0, it's (log2(1/|Q|)<> 4;
+ if (gs.vertexregs.f != 0) REG_LOG("GIFPackedRegHandlerFOG == %d", gs.vertexregs.f);
}
void __gifCall GIFPackedRegHandlerA_D(const u32* data)
@@ -273,6 +310,8 @@ void __gifCall GIFRegHandlerFOG(const u32* data)
FUNCLOG
//gs.gsvertex[gs.primIndex].f = (data[1] >> 24); // shift to upper bits
gs.vertexregs.f = data[1] >> 24;
+ if (gs.vertexregs.f != 0) REG_LOG("GIFPackedRegHandlerFOG == %d", gs.vertexregs.f);
+
}
void __gifCall GIFRegHandlerXYZF3(const u32* data)
@@ -320,6 +359,11 @@ void __gifCall GIFRegHandlerTEX1(const u32* data)
tex1.mtba = (data[0] >> 9) & 0x1;
tex1.l = (data[0] >> 19) & 0x3;
tex1.k = (data[1] >> 4) & 0xff;
+
+#ifdef SPAM_UNUSED_REGISTERS
+ REG_LOG("Lcm = %d, l = %d, k = %d", tex1.lcm, tex1.l, tex1.k);
+ if (tex1.mxl != 0) REG_LOG("MIPMAP level set to %d, which is unsupported.");
+#endif
}
template
@@ -420,6 +464,7 @@ void __gifCall GIFRegHandlerSCANMSK(const u32* data)
// ResolveZ(&vb[0]);
gs.smask = data[0] & 0x3;
+ REG_LOG("Scanmsk == %d", gs.smask);
}
template
@@ -433,6 +478,13 @@ void __gifCall GIFRegHandlerMIPTBP1(const u32* data)
miptbp0.tbw[1] = (data[1] >> 2) & 0x3f;
miptbp0.tbp[2] = (data[1] >> 8) & 0x3fff;
miptbp0.tbw[2] = (data[1] >> 22) & 0x3f;
+#ifdef SPAM_UNUSED_REGISTERS
+ if ((miptbp0.tbp[0] != 0) || (miptbp0.tbp[1] != 0) || (miptbp0.tbp[2] != 0))
+ {
+ REG_LOG("MIPTBP1: 0:%d(%d) 1:%d(%d) 2:%d(%d).", \
+ miptbp0.tbp[0], miptbp0.tbw[0], miptbp0.tbp[1], miptbp0.tbw[1], miptbp0.tbp[2], miptbp0.tbw[2]);
+ }
+#endif
}
template
@@ -446,6 +498,13 @@ void __gifCall GIFRegHandlerMIPTBP2(const u32* data)
miptbp1.tbw[1] = (data[1] >> 2) & 0x3f;
miptbp1.tbp[2] = (data[1] >> 8) & 0x3fff;
miptbp1.tbw[2] = (data[1] >> 22) & 0x3f;
+#ifdef SPAM_UNUSED_REGISTERS
+ if ((miptbp1.tbp[0] != 0) || (miptbp1.tbp[1] != 0) || (miptbp1.tbp[2] != 0))
+ {
+ REG_LOG("MIPTBP2: 0:%d(%d) 1:%d(%d) 2:%d(%d).", \
+ miptbp1.tbp[0], miptbp1.tbw[0], miptbp1.tbp[1], miptbp1.tbw[1], miptbp1.tbp[2], miptbp1.tbw[2]);
+ }
+#endif
}
void __gifCall GIFRegHandlerTEXA(const u32* data)
@@ -535,12 +594,17 @@ void __gifCall GIFRegHandlerDTHE(const u32* data)
{
FUNCLOG
gs.dthe = data[0] & 0x1;
+ if (gs.dthe != 0) REG_LOG("Dithering set. (but not implemented.)");
}
void __gifCall GIFRegHandlerCOLCLAMP(const u32* data)
{
FUNCLOG
gs.colclamp = data[0] & 0x1;
+ if (gs.colclamp == 0)
+ REG_LOG("COLCLAMP == MASK");
+ else
+ REG_LOG("COLCLAMP == CLAMP");
}
template