mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-04 02:45:12 +00:00
facepalm of the year
- Typo fix - This check leads to forever relocating memory if size never exceeds capacity!
This commit is contained in:
parent
2b9c315374
commit
1ee675e1f4
@ -906,7 +906,7 @@ namespace rsx
|
|||||||
|
|
||||||
void reserve(u32 size)
|
void reserve(u32 size)
|
||||||
{
|
{
|
||||||
if (_capacity > size)
|
if (_capacity >= size)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_data)
|
if (_data)
|
||||||
|
Loading…
Reference in New Issue
Block a user