mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
A WAIT_REG_MEM passes when the label history holds a store recorded after the wait's submission entered the driver with a value the compare accepts (storedSince). A title that resets a label right after each wait on it, with several submissions of the waiting queue queued at once (each waiting for the label at its start), had all of those waits released by one store of the other queue: after the first wait took it and the queue reset the label, the history still held the store, newer than the later submissions. Each queue now notes when a wait of it on a dword passed and, when it then stores to that dword itself, that a store of another queue recorded before the pass was taken: such a store no longer releases the queue's later waits on those bytes. Stores the queue makes itself, and the other routes (memory, the pending-label table, held at submit), are unchanged.