[GUI]: Comment out debugger for now

This commit is contained in:
SimoneN64
2025-01-23 23:39:07 +01:00
parent f27780a16e
commit 7c502b3d6b
2 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ KaizenQt::KaizenQt() noexcept : QWidget(nullptr) {
mainWindow = std::make_unique<MainWindow>(core); mainWindow = std::make_unique<MainWindow>(core);
settingsWindow = std::make_unique<SettingsWindow>(); settingsWindow = std::make_unique<SettingsWindow>();
emuThread = std::make_unique<EmuThread>(core, *mainWindow->fpsCounter, *mainWindow->vulkanWidget, *settingsWindow); emuThread = std::make_unique<EmuThread>(core, *mainWindow->fpsCounter, *mainWindow->vulkanWidget, *settingsWindow);
debugger = std::make_unique<Debugger>(); // debugger = std::make_unique<Debugger>();
ConnectMainWindowSignalsToSlots(); ConnectMainWindowSignalsToSlots();
Util::RPC::GetInstance().Update(Util::RPC::Idling); Util::RPC::GetInstance().Update(Util::RPC::Idling);
@@ -22,7 +22,7 @@ KaizenQt::KaizenQt() noexcept : QWidget(nullptr) {
setFocus(); setFocus();
grabKeyboard(); grabKeyboard();
mainWindow->show(); mainWindow->show();
debugger->hide(); // debugger->hide();
settingsWindow->hide(); settingsWindow->hide();
} }
@@ -36,7 +36,7 @@ void KaizenQt::ConnectMainWindowSignalsToSlots() noexcept {
[&] { mainWindow->vulkanWidget->wsiPlatform->DisableEventPolling(); }); [&] { mainWindow->vulkanWidget->wsiPlatform->DisableEventPolling(); });
connect(mainWindow.get(), &MainWindow::OpenSettings, this, [this] { settingsWindow->show(); }); connect(mainWindow.get(), &MainWindow::OpenSettings, this, [this] { settingsWindow->show(); });
connect(mainWindow.get(), &MainWindow::OpenDebugger, this, [this] { debugger->show(); }); // connect(mainWindow.get(), &MainWindow::OpenDebugger, this, [this] { debugger->show(); });
connect(mainWindow.get(), &MainWindow::OpenROM, this, &KaizenQt::LoadROM); connect(mainWindow.get(), &MainWindow::OpenROM, this, &KaizenQt::LoadROM);
connect(mainWindow.get(), &MainWindow::Exit, this, &KaizenQt::Quit); connect(mainWindow.get(), &MainWindow::Exit, this, &KaizenQt::Quit);
connect(mainWindow.get(), &MainWindow::Reset, emuThread.get(), &EmuThread::Reset); connect(mainWindow.get(), &MainWindow::Reset, emuThread.get(), &EmuThread::Reset);

View File

@@ -39,6 +39,6 @@ private:
std::unique_ptr<MainWindow> mainWindow; std::unique_ptr<MainWindow> mainWindow;
std::unique_ptr<SettingsWindow> settingsWindow; std::unique_ptr<SettingsWindow> settingsWindow;
std::unique_ptr<EmuThread> emuThread; std::unique_ptr<EmuThread> emuThread;
std::unique_ptr<Debugger> debugger; // std::unique_ptr<Debugger> debugger;
std::shared_ptr<n64::Core> core; std::shared_ptr<n64::Core> core;
}; };