aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/gpu.h
diff options
context:
space:
mode:
authornotaz2012-01-01 02:10:52 +0200
committernotaz2012-01-01 02:10:52 +0200
commit0486fdc9bd313ce2f01dafa4d3c151f40e2c729b (patch)
tree6613be25e0846f1b7b9bbfa9e2afccc94c14147b /libpcsxcore/gpu.h
parentc7945666b47fa5636762bfa52cd6328125d607c4 (diff)
downloadpcsx_rearmed-0486fdc9bd313ce2f01dafa4d3c151f40e2c729b.tar.gz
pcsx_rearmed-0486fdc9bd313ce2f01dafa4d3c151f40e2c729b.tar.bz2
pcsx_rearmed-0486fdc9bd313ce2f01dafa4d3c151f40e2c729b.zip
change lcf handling
not quite right but better than before, I hope
Diffstat (limited to 'libpcsxcore/gpu.h')
-rw-r--r--libpcsxcore/gpu.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libpcsxcore/gpu.h b/libpcsxcore/gpu.h
index d02dca4..018d353 100644
--- a/libpcsxcore/gpu.h
+++ b/libpcsxcore/gpu.h
@@ -5,9 +5,13 @@
* that GPU plugin doesn't.
*/
-#define PSXGPU_LCF (1<<31)
-#define PSXGPU_nBUSY (1<<26)
-#define PSXGPU_ILACE (1<<22)
+#define PSXGPU_LCF (1<<31)
+#define PSXGPU_nBUSY (1<<26)
+#define PSXGPU_ILACE (1<<22)
+#define PSXGPU_DHEIGHT (1<<19)
+
+// both must be set for interlace to work
+#define PSXGPU_ILACE_BITS (PSXGPU_ILACE | PSXGPU_DHEIGHT)
#define HW_GPU_STATUS psxHu32ref(0x1814)