mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Qt/TAS: Make TAS input windows independent
This commit is contained in:
parent
3bf92e76e5
commit
9739ad9f48
@ -164,6 +164,13 @@ MainWindow::~MainWindow()
|
||||
{
|
||||
m_render_widget->deleteLater();
|
||||
m_netplay_dialog->deleteLater();
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
m_gc_tas_input_windows[i]->deleteLater();
|
||||
m_wii_tas_input_windows[i]->deleteLater();
|
||||
}
|
||||
|
||||
ShutdownControllers();
|
||||
|
||||
QSettings& settings = Settings::GetQSettings();
|
||||
@ -253,8 +260,8 @@ void MainWindow::CreateComponents()
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
m_gc_tas_input_windows[i] = new GCTASInputWindow(this, i);
|
||||
m_wii_tas_input_windows[i] = new WiiTASInputWindow(this, i);
|
||||
m_gc_tas_input_windows[i] = new GCTASInputWindow(nullptr, i);
|
||||
m_wii_tas_input_windows[i] = new WiiTASInputWindow(nullptr, i);
|
||||
}
|
||||
|
||||
Movie::SetGCInputManip([this](GCPadStatus* pad_status, int controller_id) {
|
||||
|
Loading…
Reference in New Issue
Block a user