mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 14:33:00 +00:00
ring_buffer: Fix Push
This commit is contained in:
parent
a6cf2e1f9d
commit
c9c7097769
|
@ -56,7 +56,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
std::size_t Push(const std::vector<T>& input) {
|
std::size_t Push(const std::vector<T>& input) {
|
||||||
return Push(input.data(), input.size());
|
return Push(input.data(), input.size() / granularity);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Pops slots from the ring buffer
|
/// Pops slots from the ring buffer
|
||||||
|
|
Loading…
Reference in a new issue