mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-15 18:50:01 +01:00
Fix vm::reservation_notifier
This commit is contained in:
1 parent
7a6db3dd7e
commit
fb0f5f0c8b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user