1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 01:31:42 +00:00

Ensured the ZX80 and '81 also provide the necessary hook for destruction.

This commit is contained in:
Thomas Harte 2017-08-11 12:11:01 -04:00
parent 1d8edf58dd
commit 3831fbaca2
2 changed files with 3 additions and 0 deletions

View File

@ -384,3 +384,5 @@ using namespace ZX8081;
Machine *Machine::ZX8081() {
return new ZX8081::ConcreteMachine;
}
Machine::~Machine() {}

View File

@ -39,6 +39,7 @@ class Machine:
public KeyboardMachine::Machine {
public:
static Machine *ZX8081();
virtual ~Machine();
virtual void set_rom(ROMType type, std::vector<uint8_t> data) = 0;