src/mess/drivers/gba.c
| r10184 | r10185 | |
| 2442 | 2442 | if (count > 1) |
| 2443 | 2443 | { |
| 2444 | 2444 | chip &= ~(GBA_CHIP_EEPROM | GBA_CHIP_EEPROM_8K | GBA_CHIP_FLASH | GBA_CHIP_FLASH_1M | GBA_CHIP_FLASH_512 | GBA_CHIP_SRAM); |
| 2445 | | if (!memcmp(game_code, "ABFJ", 4)) chip |= GBA_CHIP_SRAM; // 0059 - Breath of Fire - Ryuu no Senshi (JPN) |
| 2446 | | else if (!memcmp(game_code, "AHMJ", 4)) chip |= GBA_CHIP_EEPROM; // 0364 - Dai-Mahjong (JPN) |
| 2447 | | else if (!memcmp(game_code, "A2GJ", 4)) chip |= GBA_CHIP_EEPROM; // 0399 - Advance GT2 (JPN) |
| 2448 | | else if (!memcmp(game_code, "AK9E", 4)) chip |= GBA_CHIP_EEPROM; // 0479 - Medabots AX - Rokusho Version (USA) |
| 2449 | | else if (!memcmp(game_code, "AK8E", 4)) chip |= GBA_CHIP_EEPROM; // 0480 - Medabots AX - Metabee Version (USA) |
| 2450 | | else if (!memcmp(game_code, "AK9P", 4)) chip |= GBA_CHIP_EEPROM; // 0515 - Medabots AX - Rokusho Version (EUR) |
| 2451 | | else if (!memcmp(game_code, "AGIJ", 4)) chip |= GBA_CHIP_EEPROM; // 0548 - Medarot G - Kuwagata Version (JPN) |
| 2452 | | else if (!memcmp(game_code, "A3DJ", 4)) chip |= GBA_CHIP_EEPROM; // 0567 - Disney Sports - American Football (JPN) |
| 2453 | | else if (!memcmp(game_code, "AF7J", 4)) chip |= GBA_CHIP_EEPROM; // 0605 - Tokimeki Yume Series 1 - Ohanaya-san ni Narou! (JPN) |
| 2454 | | else if (!memcmp(game_code, "AH7J", 4)) chip |= GBA_CHIP_EEPROM; // 0617 - Nakayoshi Pet Advance Series 1 - Kawaii Hamster (JPN) |
| 2455 | | else if (!memcmp(game_code, "AGHJ", 4)) chip |= GBA_CHIP_EEPROM; // 0620 - Medarot G - Kabuto Version (JPN) |
| 2456 | | else if (!memcmp(game_code, "AR8E", 4)) chip |= GBA_CHIP_SRAM; // 0727 - Rocky (USA) |
| 2457 | | else if (!memcmp(game_code, "ALUE", 4)) chip |= GBA_CHIP_EEPROM; // 0751 - Super Monkey Ball Jr. (USA) |
| 2445 | if (!memcmp(game_code, "ABFJ", 4)) chip |= GBA_CHIP_SRAM; // 0059 - Breath of Fire - Ryuu no Senshi (JPN) |
| 2446 | else if (!memcmp(game_code, "AHMJ", 4)) chip |= GBA_CHIP_EEPROM; // 0364 - Dai-Mahjong (JPN) |
| 2447 | else if (!memcmp(game_code, "A2GJ", 4)) chip |= GBA_CHIP_EEPROM_8K; // 0399 - Advance GT2 (JPN) |
| 2448 | else if (!memcmp(game_code, "AK9E", 4)) chip |= GBA_CHIP_EEPROM; // 0479 - Medabots AX - Rokusho Version (USA) |
| 2449 | else if (!memcmp(game_code, "AK8E", 4)) chip |= GBA_CHIP_EEPROM; // 0480 - Medabots AX - Metabee Version (USA) |
| 2450 | else if (!memcmp(game_code, "AK9P", 4)) chip |= GBA_CHIP_EEPROM; // 0515 - Medabots AX - Rokusho Version (EUR) |
| 2451 | else if (!memcmp(game_code, "AGIJ", 4)) chip |= GBA_CHIP_EEPROM; // 0548 - Medarot G - Kuwagata Version (JPN) |
| 2452 | else if (!memcmp(game_code, "A3DJ", 4)) chip |= GBA_CHIP_EEPROM; // 0567 - Disney Sports - American Football (JPN) |
| 2453 | else if (!memcmp(game_code, "AF7J", 4)) chip |= GBA_CHIP_EEPROM; // 0605 - Tokimeki Yume Series 1 - Ohanaya-san ni Narou! (JPN) |
| 2454 | else if (!memcmp(game_code, "AH7J", 4)) chip |= GBA_CHIP_EEPROM_8K; // 0617 - Nakayoshi Pet Advance Series 1 - Kawaii Hamster (JPN) |
| 2455 | else if (!memcmp(game_code, "AGHJ", 4)) chip |= GBA_CHIP_EEPROM; // 0620 - Medarot G - Kabuto Version (JPN) |
| 2456 | else if (!memcmp(game_code, "AR8E", 4)) chip |= GBA_CHIP_SRAM; // 0727 - Rocky (USA) |
| 2457 | else if (!memcmp(game_code, "ALUE", 4)) chip |= GBA_CHIP_EEPROM; // 0751 - Super Monkey Ball Jr. (USA) |
| 2458 | else if (!memcmp(game_code, "A3DE", 4)) chip |= GBA_CHIP_EEPROM; // 0800 - Disney Sports - Football (USA) |
| 2459 | else if (!memcmp(game_code, "A87J", 4)) chip |= GBA_CHIP_EEPROM; // 0817 - Ohanaya-San Monogatari GBA (JPN) |
| 2460 | else if (!memcmp(game_code, "A56J", 4)) chip |= GBA_CHIP_EEPROM; // 0827 - DokiDoki Cooking Series 1 - Komugi-chan no Happy Cake (JPN) |
| 2461 | else if (!memcmp(game_code, "AUSJ", 4)) chip |= GBA_CHIP_FLASH; // 0906 - One Piece - Mezase! King of Berries (JPN) |
| 2462 | else if (!memcmp(game_code, "ANTJ", 4)) chip |= GBA_CHIP_SRAM; // 0950 - Nippon Pro Mahjong Renmei Kounin - Tetsuman Advance (JPN) |
| 2463 | else if (!memcmp(game_code, "A8OJ", 4)) chip |= GBA_CHIP_EEPROM; // 0988 - DokiDoki Cooking Series 2 - Gourmet Kitchen - Suteki na Obentou (JPN) |
| 2464 | else if (!memcmp(game_code, "AZWE", 4)) chip |= GBA_CHIP_SRAM; // 0990 - WarioWare, Inc. - Mega Microgame$! (USA) |
| 2458 | 2465 | else |
| 2459 | 2466 | { |
| 2460 | 2467 | mame_printf_warning( "GBA: NVRAM is disabled because multiple NVRAM chips were detected!\n"); |