gamecart.c: fix indentation, a small merging mistake

This commit is contained in:
d0k3 2021-03-18 00:33:58 +01:00
parent 9f52deedad
commit 0bbbc7c324

View File

@ -73,8 +73,7 @@ u32 GetCartInfoString(char* info, size_t info_size, CartData* cdata) {
"Product Code : %.10s\n" "Product Code : %.10s\n"
"Revision : %lu\n" "Revision : %lu\n"
"Cart ID : %08lX\n" "Cart ID : %08lX\n"
"Platform : %s\n" "Platform : %s\n",
"GM9 Version : " VERSION "\n",
ncsd->mediaId, ncch->productcode, cdata_i->rom_version, cdata_i->cart_id, ncsd->mediaId, ncch->productcode, cdata_i->rom_version, cdata_i->cart_id,
(ncch->flags[4] == 0x2) ? "N3DS" : "O3DS"); (ncch->flags[4] == 0x2) ? "N3DS" : "O3DS");
} else if (cdata->cart_type & CART_NTR) { } else if (cdata->cart_type & CART_NTR) {
@ -85,8 +84,7 @@ u32 GetCartInfoString(char* info, size_t info_size, CartData* cdata) {
"Product Code : %.6s\n" "Product Code : %.6s\n"
"Revision : %u\n" "Revision : %u\n"
"Cart ID : %08lX\n" "Cart ID : %08lX\n"
"Platform : %s\n" "Platform : %s\n",
"GM9 Version : " VERSION "\n",
nds->game_title, nds->game_code, nds->rom_version, cdata_i->cart_id, nds->game_title, nds->game_code, nds->rom_version, cdata_i->cart_id,
(nds->unit_code == 0x2) ? "DSi Enhanced" : (nds->unit_code == 0x3) ? "DSi Exclusive" : "DS"); (nds->unit_code == 0x2) ? "DSi Enhanced" : (nds->unit_code == 0x3) ? "DSi Exclusive" : "DS");
} else return 1; } else return 1;