more wrappers and helpers!
This commit is contained in:
@@ -28,6 +28,18 @@ void KaizenGui::ConnectMainWindowSignalsToSlots() noexcept {
|
||||
connect(mainWindow.get(), &MainWindow::Pause, emuThread.get(), &EmuThread::TogglePause);
|
||||
}
|
||||
|
||||
int KaizenGui::run() {
|
||||
bool inputForEmu = true;
|
||||
|
||||
if(settingsWindow.render()) {
|
||||
inputForEmu = false;
|
||||
}
|
||||
|
||||
mainWindow.render();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void KaizenGui::LoadROM(const QString &path) const noexcept {
|
||||
mainWindow->actionPause->setEnabled(true);
|
||||
mainWindow->actionReset->setEnabled(true);
|
||||
|
||||
Reference in New Issue
Block a user