Fixup emulation stopping

This commit is contained in:
Eladash 2024-03-27 10:40:25 +02:00 committed by Elad Ashkenazi
parent 8588b2b11a
commit 750359d780
2 changed files with 13 additions and 8 deletions

View file

@ -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