Versie
4.0-148
Branche
dc-netplay
Datum
7 jaar, 1 maand geleden
Windows x64 Windows x86 Android Mac OS X
Commit
2269db3a7641e751f6dcc70022795fe38708b83d
Auteur
comex
Beschrijving
Refactor SetCpStatus, hopefully fixing breakpoints.

Now it's only called in a single place in each mode.  Normally this is
the GPU thread, because everything needs to be checked when
CPReadPointer changes, and watermarks shouldn't need strict timing so
there's no need to also call it from some other thread.  In
bSyncGPUAtIdleOnly mode, we ignore watermarks, so it's called on the
CPU thread after cpuFifo.CPReadPointer is updated, to check for
breakpoints.