Add "showCartInfo_GB" function

This commit is contained in:
splash5 2019-10-07 11:34:55 +08:00
parent 6fcd374e2a
commit 0712e8e5ae
2 changed files with 5 additions and 0 deletions

View File

@ -185,6 +185,10 @@ void setup_GB() {
// Print start page // Print start page
getCartInfo_GB(); getCartInfo_GB();
showCartInfo_GB();
}
void showCartInfo_GB() {
display_Clear(); display_Clear();
if (strcmp(checksumStr, "00") != 0) { if (strcmp(checksumStr, "00") != 0) {
println_Msg(F("GB Cart Info")); println_Msg(F("GB Cart Info"));

View File

@ -220,6 +220,7 @@ gb_smart_load_more_games:
// select a game // select a game
gbSmartRemapStartBank(gbSmartGames[gameSubMenu].start_bank, gbSmartGames[gameSubMenu].rom_size, gbSmartGames[gameSubMenu].sram_size); gbSmartRemapStartBank(gbSmartGames[gameSubMenu].start_bank, gbSmartGames[gameSubMenu].rom_size, gbSmartGames[gameSubMenu].sram_size);
getCartInfo_GB(); getCartInfo_GB();
showCartInfo_GB();
mode = mode_GB_GBSmart_Game; mode = mode_GB_GBSmart_Game;
} }