Skip to content

Commit

Permalink
Ensure cards are saved on close, it was possible to lose data
Browse files Browse the repository at this point in the history
  • Loading branch information
GXTX committed Jan 25, 2024
1 parent b3fc6d9 commit 8b7cce9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Includes/C1231BR.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
class C1231BR : public CardIo {
public:
C1231BR(CardIo::Settings* settings);

~C1231BR() { EjectCard(); }
protected:
enum class CardPosition {
NO_CARD = 0b00000,
Expand Down
1 change: 1 addition & 0 deletions Includes/C1231LR.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class C1231LR : public CardIo
{
public:
C1231LR(CardIo::Settings *settings);
~C1231LR() { EjectCard(); }
protected:
enum class CardPosition {
NO_CARD = 0x30,
Expand Down
1 change: 1 addition & 0 deletions Includes/Printer.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class Printer
}
~Printer()
{
DetachedRemove();
SDL_Quit();
}

Expand Down

0 comments on commit 8b7cce9

Please sign in to comment.