mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-18 21:25:11 +00:00
Marge master into PPU
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
#include <QMenuBar>
|
||||
#include <iostream>
|
||||
#include "QtSFML.hpp"
|
||||
#include "../../Exceptions/InvalidOpcode.hpp"
|
||||
#include "../../Exceptions/InvalidAddress.hpp"
|
||||
#include "../../Exceptions/InvalidAction.hpp"
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
#include <Qt/qx11info_x11.h>
|
||||
@@ -88,6 +91,9 @@ namespace ComSquare::Renderer
|
||||
{
|
||||
try {
|
||||
this->_snes.update();
|
||||
} catch (DebuggableError &e) {
|
||||
std::cout << "Invalid rom's instruction: " << e.what() << std::endl;
|
||||
this->_snes.enableCPUDebugging(true);
|
||||
} catch (std::exception &e) {
|
||||
std::cerr << "An error occurred: " << e.what() << std::endl;
|
||||
QApplication::quit();
|
||||
|
||||
Reference in New Issue
Block a user