This commit is contained in:
Anonymus Raccoon
2020-02-18 00:46:48 +01:00
6 changed files with 46 additions and 12 deletions

View File

@@ -70,7 +70,12 @@ namespace ComSquare::Renderer
void QtFullSFML::_onUpdate()
{
this->_snes.update();
try {
this->_snes.update();
} catch (std::exception &e) {
std::cerr << "An error occurred: " << e.what() << std::endl;
QApplication::quit();
}
}
void QtFullSFML::enableDebugCPU()