FifoPlayer: Move instance to System.

This commit is contained in:
Admiral H. Curtiss 2024-01-05 09:31:59 +01:00
commit fc2ec826d4
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
13 changed files with 76 additions and 56 deletions

View file

@ -1363,7 +1363,7 @@ void MainWindow::ShowFIFOPlayer()
{
if (!m_fifo_window)
{
m_fifo_window = new FIFOPlayerWindow;
m_fifo_window = new FIFOPlayerWindow(Core::System::GetInstance().GetFifoPlayer());
connect(m_fifo_window, &FIFOPlayerWindow::LoadFIFORequested, this,
[this](const QString& path) { StartGame(path, ScanForSecondDisc::No); });
}