mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-27 06:54:15 +01:00
Use correct mapper type for GB Mani 4 in 1
This commit is contained in:
parent
3a9ccf65b0
commit
8713b49706
@ -818,10 +818,19 @@ void getCartInfo_GB() {
|
||||
myLength--;
|
||||
}
|
||||
|
||||
// Detect M161 game
|
||||
if ((strncmp(romName, "TETRIS SET", 9) == 0) && (sdBuffer[0x14D] == 0x3F)) {
|
||||
// M161 (Mani 4 in 1)
|
||||
if ((strncmp(romName, "TETRIS SET", 10) == 0) && (sdBuffer[0x14D] == 0x3F)) {
|
||||
romType = 0x104;
|
||||
}
|
||||
|
||||
// MMM01 (Mani 4 in 1)
|
||||
if (
|
||||
(strncmp(romName, "BOUKENJIMA2 SET", 15) == 0) && (sdBuffer[0x14D] == 0) ||
|
||||
(strncmp(romName, "BUBBLEBOBBLE SET", 16) == 0) && (sdBuffer[0x14D] == 0xC6) ||
|
||||
(strncmp(romName, "GANBARUGA SET", 13) == 0) && (sdBuffer[0x14D] == 0x90) ||
|
||||
(strncmp(romName, "RTYPE 2 SET", 11) == 0) && (sdBuffer[0x14D] == 0x32)) {
|
||||
romType = 0x0B;
|
||||
}
|
||||
}
|
||||
|
||||
/******************************************
|
||||
|
Loading…
Reference in New Issue
Block a user