mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 13:13:43 +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
|
// Get reservation sync variable
|
||||||
inline notifier& reservation_notifier(u32 addr, u32 size)
|
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
|
// Change memory protection of specified memory region
|
||||||
|
Loading…
x
Reference in New Issue
Block a user