SPU: Implement Accurate DMA (#8822)

This commit is contained in:
Eladash 2020-09-03 00:58:29 +03:00 committed by GitHub
parent ddfa077c3e
commit 73d23eb6e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 170 additions and 60 deletions

View file

@ -151,14 +151,14 @@ namespace rsx
// TODO: Check if possible to write on reservations
if (!g_use_rtm && rsx->label_addr >> 28 != addr >> 28) [[likely]]
{
res = &vm::reservation_lock(addr, 4);
res = &vm::reservation_lock(addr, 4).first;
}
vm::_ref<RsxSemaphore>(addr).val = arg;
if (res)
{
res->release(*res & -128);
res->release(*res + 127);
}
vm::reservation_notifier(addr, 4).notify_all();