From 1ee675e1f449c0e5cd16c91ed853c0a7270ad4be Mon Sep 17 00:00:00 2001 From: kd-11 Date: Tue, 18 Jun 2019 21:48:50 +0300 Subject: [PATCH] facepalm of the year - Typo fix - This check leads to forever relocating memory if size never exceeds capacity! --- rpcs3/Emu/RSX/rsx_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/rsx_utils.h b/rpcs3/Emu/RSX/rsx_utils.h index e07179f714..d04ffce391 100644 --- a/rpcs3/Emu/RSX/rsx_utils.h +++ b/rpcs3/Emu/RSX/rsx_utils.h @@ -906,7 +906,7 @@ namespace rsx void reserve(u32 size) { - if (_capacity > size) + if (_capacity >= size) return; if (_data)