summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2024-01-13 06:38:39 -0500
committerGitHub <noreply@github.com>2024-01-13 06:38:39 -0500
commit8760aca8ec400ceb231eaf98193f83172c2c8971 (patch)
tree46113c3489477fd1dc76c16629f945670f59abd6 /Source/Core/DolphinQt/MainWindow.cpp
parentd36baf633c9de8d5a3da863ffacca4ba8c88260f (diff)
parent637fd4990914831ae164c2f410cf60fe4f0d28c4 (diff)
Merge pull request #12500 from AdmiralCurtiss/globals-fiforecorder
FifoRecorder: Move instance to System.
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index 45289dbee3..74e6198c84 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -1363,7 +1363,8 @@ void MainWindow::ShowFIFOPlayer()
{
if (!m_fifo_window)
{
- m_fifo_window = new FIFOPlayerWindow(Core::System::GetInstance().GetFifoPlayer());
+ m_fifo_window = new FIFOPlayerWindow(Core::System::GetInstance().GetFifoPlayer(),
+ Core::System::GetInstance().GetFifoRecorder());
connect(m_fifo_window, &FIFOPlayerWindow::LoadFIFORequested, this,
[this](const QString& path) { StartGame(path, ScanForSecondDisc::No); });
}