From fb0f5f0c8ba3b2efb7290abb5ad538db2a08d12a Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sun, 20 May 2018 15:13:01 +0300 Subject: [PATCH] Fix vm::reservation_notifier --- rpcs3/Emu/Memory/vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Memory/vm.h b/rpcs3/Emu/Memory/vm.h index a46402af59..d11087528c 100644 --- a/rpcs3/Emu/Memory/vm.h +++ b/rpcs3/Emu/Memory/vm.h @@ -102,7 +102,7 @@ namespace vm // Get reservation sync variable inline notifier& reservation_notifier(u32 addr, u32 size) { - return *reinterpret_cast(g_reservations2 + addr / 16); + return *reinterpret_cast(g_reservations2 + addr / 128 * 8); } // Change memory protection of specified memory region