diff --git a/main/gbc_cart.hpp b/main/gbc_cart.hpp index 7ac2afdc..2ec75b8f 100644 --- a/main/gbc_cart.hpp +++ b/main/gbc_cart.hpp @@ -52,6 +52,7 @@ class GbcCart : public Cart { // cppcheck-suppress uselessOverride virtual void deinit() override { + Cart::deinit(); #if defined(ENABLE_GBC) stop_gameboy_tasks(); deinit_gameboy(); diff --git a/main/nes_cart.hpp b/main/nes_cart.hpp index 024fb9e9..05d6d9e7 100644 --- a/main/nes_cart.hpp +++ b/main/nes_cart.hpp @@ -52,6 +52,7 @@ class NesCart : public Cart { // cppcheck-suppress uselessOverride virtual void deinit() override { + Cart::deinit(); #if defined(ENABLE_NES) stop_nes_tasks(); deinit_nes(); diff --git a/main/sms_cart.hpp b/main/sms_cart.hpp index 26dfbc7c..19b9aab7 100644 --- a/main/sms_cart.hpp +++ b/main/sms_cart.hpp @@ -65,7 +65,7 @@ class SmsCart : public Cart { // cppcheck-suppress uselessOverride virtual void deinit() override { - logger_.info("deinit()"); + Cart::deinit(); #if defined(ENABLE_SMS) stop_sms_tasks(); deinit_sms();