mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
SPU fix
This commit is contained in:
parent
b1f1a5885b
commit
db1b012a26
2 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,8 @@ void mfc_thread::cpu_task()
|
|||
cmd.size = 0;
|
||||
no_updates = 0;
|
||||
|
||||
vm::reservation_acquire(cmd.eal, 128);
|
||||
|
||||
// Store unconditionally
|
||||
vm::writer_lock lock(0);
|
||||
data = to_write;
|
||||
|
|
|
@ -586,6 +586,8 @@ void SPUThread::process_mfc_cmd()
|
|||
auto& data = vm::ps3::_ref<decltype(rdata)>(ch_mfc_cmd.eal);
|
||||
const auto to_write = _ref<decltype(rdata)>(ch_mfc_cmd.lsa & 0x3ffff);
|
||||
|
||||
vm::reservation_acquire(ch_mfc_cmd.eal, 128);
|
||||
|
||||
// Store unconditionally
|
||||
// TODO: vm::check_addr
|
||||
vm::writer_lock lock(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue