mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-11 10:14:16 +00:00
Fix vm::reservation_notifier
This commit is contained in:
parent
7a6db3dd7e
commit
fb0f5f0c8b
@ -102,7 +102,7 @@ namespace vm
|
||||
// Get reservation sync variable
|
||||
inline notifier& reservation_notifier(u32 addr, u32 size)
|
||||
{
|
||||
return *reinterpret_cast<notifier*>(g_reservations2 + addr / 16);
|
||||
return *reinterpret_cast<notifier*>(g_reservations2 + addr / 128 * 8);
|
||||
}
|
||||
|
||||
// Change memory protection of specified memory region
|
||||
|
Loading…
x
Reference in New Issue
Block a user