1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Remove test_stopped() check from ppu_load_acquire_reservation

Fixes warning.
This commit is contained in:
Nekotekina 2020-04-28 21:15:40 +03:00
parent 833ace1190
commit 689419b0ca

View File

@ -1050,8 +1050,6 @@ static T ppu_load_acquire_reservation(ppu_thread& ppu, u32 addr)
if ((vm::reservation_acquire(addr, sizeof(T)) & -128) == ppu.rtime) [[likely]] if ((vm::reservation_acquire(addr, sizeof(T)) & -128) == ppu.rtime) [[likely]]
{ {
ppu.test_stopped();
if (count >= 10) [[unlikely]] if (count >= 10) [[unlikely]]
{ {
ppu_log.error("%s took too long: %u", sizeof(T) == 4 ? "LWARX" : "LDARX", count); ppu_log.error("%s took too long: %u", sizeof(T) == 4 ? "LWARX" : "LDARX", count);