From 0712e8e5ae47f3b25cec8c2a4f5ececa0a640fbe Mon Sep 17 00:00:00 2001 From: splash5 <2173030+splash5@users.noreply.github.com> Date: Mon, 7 Oct 2019 11:34:55 +0800 Subject: [PATCH] Add "showCartInfo_GB" function --- Cart_Reader/GB.ino | 4 ++++ Cart_Reader/GBSmart.ino | 1 + 2 files changed, 5 insertions(+) diff --git a/Cart_Reader/GB.ino b/Cart_Reader/GB.ino index 2ca62ed..2204a16 100644 --- a/Cart_Reader/GB.ino +++ b/Cart_Reader/GB.ino @@ -185,6 +185,10 @@ void setup_GB() { // Print start page getCartInfo_GB(); + showCartInfo_GB(); +} + +void showCartInfo_GB() { display_Clear(); if (strcmp(checksumStr, "00") != 0) { println_Msg(F("GB Cart Info")); diff --git a/Cart_Reader/GBSmart.ino b/Cart_Reader/GBSmart.ino index 79b037e..1bcc5dc 100644 --- a/Cart_Reader/GBSmart.ino +++ b/Cart_Reader/GBSmart.ino @@ -220,6 +220,7 @@ gb_smart_load_more_games: // select a game gbSmartRemapStartBank(gbSmartGames[gameSubMenu].start_bank, gbSmartGames[gameSubMenu].rom_size, gbSmartGames[gameSubMenu].sram_size); getCartInfo_GB(); + showCartInfo_GB(); mode = mode_GB_GBSmart_Game; }