core - retail NAND:

- add autodetection "Daigassou! Band Brothers DX";
This commit is contained in:
mtabachenko 2013-09-28 08:20:18 +00:00
parent 274907e9b2
commit 07d60c9da1
1 changed files with 5 additions and 3 deletions

View File

@ -43,13 +43,15 @@ public:
NDS_SLOT1_TYPE selection = NDS_SLOT1_RETAIL_MCROM;
//check game ID in core emulator and select right implementation
if(!memcmp(gameInfo.header.gameCode,"UOR",3) || //WarioWare Do It Yourself
!memcmp(gameInfo.header.gameCode,"UXBP",4)) //Jam with the Band
if ((memcmp(gameInfo.header.gameCode, "UOR", 3) == 0) || // WarioWare - D.I.Y. (U)(E)(EUR) / Made in Ore (J)
(memcmp(gameInfo.header.gameCode, "UXBP", 4) == 0) || // Jam with the Band (EUR)
(memcmp(gameInfo.header.gameCode, "AXBJ", 4) == 0) // Daigassou! Band Brothers DX (J)
)
selection = NDS_SLOT1_RETAIL_NAND;
mSelectedImplementation = slot1_List[selection];
mSelectedImplementation->connect();
printf("slot1 auto-selected device type: %s\n",mSelectedImplementation->info()->name());
printf("Slot1 auto-selected device type: %s\n",mSelectedImplementation->info()->name());
}