Fix for previous commit.
This commit is contained in:
parent
41abe17286
commit
81ef40fbb7
@ -51,7 +51,7 @@ bool Mem::allocate(int algo, int threads, bool doubleHash, bool enabled)
|
|||||||
m_size = MONERO_MEMORY * (threads * ratio + 1);
|
m_size = MONERO_MEMORY * (threads * ratio + 1);
|
||||||
|
|
||||||
if (!enabled) {
|
if (!enabled) {
|
||||||
m_memory = static_cast<uint8_t*>(_mm_malloc(size, 16));
|
m_memory = static_cast<uint8_t*>(_mm_malloc(m_size, 16));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user