summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d6a231b)
libretro/pcsx_rearmed#777
// meh2, syncing for img bit, might want to avoid it..
gpuSyncPluginSR();
// meh2, syncing for img bit, might want to avoid it..
gpuSyncPluginSR();
+ v = SWAP32(HW_GPU_STATUS);
// XXX: because of large timeslices can't use hSyncCount, using rough
// approximization instead. Perhaps better use hcounter code here or something.
// XXX: because of large timeslices can't use hSyncCount, using rough
// approximization instead. Perhaps better use hcounter code here or something.
- if (hSyncCount < 240 && (HW_GPU_STATUS & PSXGPU_ILACE_BITS) != PSXGPU_ILACE_BITS)
+ if (hSyncCount < 240 && (v & PSXGPU_ILACE_BITS) != PSXGPU_ILACE_BITS)
v |= PSXGPU_LCF & (psxRegs.cycle << 20);
return v;
}
v |= PSXGPU_LCF & (psxRegs.cycle << 20);
return v;
}