VIF: Reduce alignment of empty hash buckets

They'll never be in hot codepaths (since they're empty) and memalign with 64-byte alignment is noticeably slower than 16-byte alignment
This commit is contained in:
TellowKrinkle 2022-11-24 21:10:32 -06:00 committed by refractionpcsx2
parent ee451fe345
commit 314c840293
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ public:
// Allocate an empty cell for all buckets
for (auto& bucket : m_bucket)
{
if ((bucket = (nVifBlock*)_aligned_malloc(sizeof(nVifBlock), 64)) == nullptr)
if ((bucket = (nVifBlock*)_aligned_malloc(sizeof(nVifBlock), 16)) == nullptr)
{
pxFailRel("Failed to allocate HashBucket Chain on reset");
}