Skip to content

Commit 898a0ab

Browse files
committed
Per player buffer functions! Still needs netplay testing, so not merged yet
1 parent db20eea commit 898a0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Core/Core/NetPlayClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,7 @@ bool NetPlayClient::PollLocalPad(const int local_pad, sf::Packet& packet)
22692269
{
22702270
// adjust the buffer either up or down
22712271
// inserting multiple padstates or dropping states
2272-
while (m_pad_buffer[ingame_pad].Size() <= m_minimum_buffer_size)
2272+
while (m_pad_buffer[ingame_pad].Size() <= BufferSizeForPort(ingame_pad))
22732273
{
22742274
// add to buffer
22752275
m_pad_buffer[ingame_pad].Push(pad_status);

0 commit comments

Comments
 (0)