From 0486fdc9bd313ce2f01dafa4d3c151f40e2c729b Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 1 Jan 2012 02:10:52 +0200 Subject: change lcf handling not quite right but better than before, I hope --- libpcsxcore/psxhw.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpcsxcore/psxhw.c') diff --git a/libpcsxcore/psxhw.c b/libpcsxcore/psxhw.c index bcedb97..ebdff87 100644 --- a/libpcsxcore/psxhw.c +++ b/libpcsxcore/psxhw.c @@ -242,6 +242,8 @@ u32 psxHwRead32(u32 add) { case 0x1f801814: gpuSyncPluginSR(); hard = HW_GPU_STATUS; + if (hSyncCount < 240 && (HW_GPU_STATUS & PSXGPU_ILACE_BITS) != PSXGPU_ILACE_BITS) + hard |= PSXGPU_LCF & (psxRegs.cycle << 20); #ifdef PSXHW_LOG PSXHW_LOG("GPU STATUS 32bit read %x\n", hard); #endif -- cgit v1.2.3