mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12: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
1 changed files with 1 additions and 1 deletions
|
@ -906,7 +906,7 @@ namespace rsx
|
|||
|
||||
void reserve(u32 size)
|
||||
{
|
||||
if (_capacity > size)
|
||||
if (_capacity >= size)
|
||||
return;
|
||||
|
||||
if (_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue