Merge pull request #5915 from JosJuice/pad-size

DolphinQt2: Replace "Pad size" with "Buffer size"
This commit is contained in:
Leo Lam 2017-08-11 20:27:52 +08:00 committed by GitHub
commit 86e932b833
2 changed files with 2 additions and 2 deletions

View File

@ -484,7 +484,7 @@ void NetPlayDialog::OnMsgStopGame()
void NetPlayDialog::OnPadBufferChanged(u32 buffer) void NetPlayDialog::OnPadBufferChanged(u32 buffer)
{ {
QueueOnObject(this, [this, buffer] { m_buffer_size_box->setValue(buffer); }); QueueOnObject(this, [this, buffer] { m_buffer_size_box->setValue(buffer); });
DisplayMessage(tr("Pad size changed to %1").arg(buffer), "gray"); DisplayMessage(tr("Buffer size changed to %1").arg(buffer), "gray");
} }
void NetPlayDialog::OnDesync(u32 frame, const std::string& player) void NetPlayDialog::OnDesync(u32 frame, const std::string& player)

View File

@ -581,7 +581,7 @@ void NetPlayDialog::OnThread(wxThreadEvent& event)
break; break;
case NP_GUI_EVT_PAD_BUFFER_CHANGE: case NP_GUI_EVT_PAD_BUFFER_CHANGE:
{ {
std::string msg = StringFromFormat("Pad buffer: %d", m_pad_buffer); std::string msg = StringFromFormat("Buffer size: %d", m_pad_buffer);
if (g_ActiveConfig.bShowNetPlayMessages) if (g_ActiveConfig.bShowNetPlayMessages)
{ {