Skip to content

Commit

Permalink
change to virtual destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Kautenja committed Aug 12, 2018
1 parent 663e695 commit 40f5772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nes_py/laines/include/mapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Mapper {
Mapper(u8* rom);
Mapper(Mapper* mapper);
virtual Mapper* copy();
~Mapper();
virtual ~Mapper();

u8 read(u16 addr);
virtual u8 write(u16 addr, u8 v) { return v; }
Expand Down

0 comments on commit 40f5772

Please sign in to comment.