mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix format string arguments warning.
%i in format string (no. 1) requires 'int' but the argument type is Unknown. Codacy.
This commit is contained in:
parent
47545e511d
commit
2b68c5e383
|
@ -219,7 +219,7 @@ void* GSRingHeap::alloc_internal(size_t size, size_t align_mask, size_t prefix_s
|
||||||
size_t used = m_current_buffer->m_amt_allocated.load(std::memory_order_relaxed) - 1;
|
size_t used = m_current_buffer->m_amt_allocated.load(std::memory_order_relaxed) - 1;
|
||||||
if (used * 4 < total)
|
if (used * 4 < total)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "GSRingHeap: Orphaning %zdmb buffer with low usage of %d%%, check that allocations are actually being deallocated approximately in order\n", total / mb, static_cast<int>((used * 100) / total));
|
fprintf(stderr, "GSRingHeap: Orphaning %zumb buffer with low usage of %d%%, check that allocations are actually being deallocated approximately in order\n", total / mb, static_cast<int>((used * 100) / total));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue