Skip to content

Commit

Permalink
fix sa
Browse files Browse the repository at this point in the history
  • Loading branch information
finger563 committed Dec 27, 2023
1 parent a6a37bd commit 5f33c26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions main/gbc_cart.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions main/nes_cart.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion main/sms_cart.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5f33c26

Please sign in to comment.