Finishing the main and disabling the invalid opcode throw for now

This commit is contained in:
AnonymusRaccoon
2020-02-11 14:47:56 +01:00
parent f886f8f53c
commit d7002336fa
6 changed files with 11 additions and 7 deletions

View File

@@ -4,7 +4,6 @@
#include <iostream>
#include <string>
#include "sources/Renderer/IRenderer.hpp"
#include "sources/SNES.hpp"
#include "sources/Renderer/SFRenderer.hpp"
@@ -23,6 +22,8 @@ int main(int argc, char **argv)
unsigned cycleCount = snes.cpu->update();
snes.ppu->update(cycleCount);
snes.apu->update(cycleCount);
renderer.getEvents();
}
} catch (std::exception &e) {
std::cerr << "An error occurred: " << e.what() << std::endl;