summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorlioncash <mathew1900@hotmail.com>2013-05-01 09:35:31 -0400
committerlioncash <mathew1900@hotmail.com>2013-05-01 09:35:31 -0400
commitfbc77e956ae348e581bffca2b5b3fe654c03bc42 (patch)
treefcadf2aedc30373c7a2883a166d8609bff61226d /Source/Core
parent62065be7889d9dceba3d16e10674ac34abc65f38 (diff)
Display the initial number of frames that are to be recorded in the Fifo Player.
Before this commit, nothing would would be displayed in the "Frames to Record" text control. This fixes that by setting it to what m_FramesToRecord is initially set to, which is 1 (at the time of this commit).
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp b/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp
index 8f14797fb0..09eb0b21db 100644
--- a/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp
+++ b/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp
@@ -192,7 +192,8 @@ void FifoPlayerDlg::CreateGUIControls()
m_FramesToRecordLabel->Wrap(-1);
sRecordingOptions->Add(m_FramesToRecordLabel, 0, wxALL, 5);
- m_FramesToRecordCtrl = new wxSpinCtrl(m_RecordPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10000, 1);
+ wxString initialNum = wxString::Format(_T("%d"), m_FramesToRecord);
+ m_FramesToRecordCtrl = new wxSpinCtrl(m_RecordPage, wxID_ANY, initialNum, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10000);
sRecordingOptions->Add(m_FramesToRecordCtrl, 0, wxALL, 5);
sRecordPage->Add(sRecordingOptions, 0, wxEXPAND, 5);