diff --git a/M6502/src/mos6502.cpp b/M6502/src/mos6502.cpp index fb544fa..c8f73c4 100644 --- a/M6502/src/mos6502.cpp +++ b/M6502/src/mos6502.cpp @@ -77,7 +77,7 @@ void EightBit::MOS6502::___() { NOP_imp(); cycles++; } else { - throw new std::domain_error("Whoops: Invalid instruction."); + throw std::domain_error("Whoops: Invalid instruction."); } } @@ -185,7 +185,7 @@ void EightBit::MOS6502::OverlayInstructionSet(const std::array