mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Fixup emulation stopping
This commit is contained in:
parent
8588b2b11a
commit
750359d780
2 changed files with 13 additions and 8 deletions
|
|
@ -3377,11 +3377,12 @@ static bool ppu_store_reservation(ppu_thread& ppu, u32 addr, u64 reg_value)
|
|||
|
||||
data += 0;
|
||||
auto range_lock = vm::alloc_range_lock();
|
||||
bool success = false;
|
||||
{
|
||||
rsx::reservation_lock rsx_lock(addr, 128);
|
||||
|
||||
auto& super_data = *vm::get_super_ptr<spu_rdata_t>(addr);
|
||||
const bool success = [&]()
|
||||
success = [&]()
|
||||
{
|
||||
// Full lock (heavyweight)
|
||||
// TODO: vm::check_addr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue