X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FCart.c;h=25bb96106b2559325a7b7330c06bb2428b788c04;hb=7b802576b284e113c637324e583a3a44e0e8e871;hp=4b94b47816030e5adc69fea353391512fbb5c108;hpb=fad248933b6676d30ccf419858b4ee10cc123fc5;p=picodrive.git diff --git a/Pico/Cart.c b/Pico/Cart.c index 4b94b47..25bb961 100644 --- a/Pico/Cart.c +++ b/Pico/Cart.c @@ -655,17 +655,17 @@ void PicoCartDetect(void) } // Detect 12-in-1 mapper - else if ((name_cmp("ROBOCOP 3") && Pico.romsize == 0x200000) || - (rom_strcmp(0x160, "FLICKY") && Pico.romsize >= 0x200000)) + else if ((name_cmp("ROBOCOP 3") == 0 && Pico.romsize == 0x200000) || + (rom_strcmp(0x160, "FLICKY") == 0 && Pico.romsize >= 0x200000)) { carthw_12in1_startup(); } // Realtec mapper else if (Pico.romsize == 512*1024 && ( - rom_strcmp(0x94, "THE EARTH DEFEND") || - rom_strcmp(0xfe, "WISEGAME 11-03-1993") || // Funny World - rom_strcmp(0x95, "MALLET LEGEND "))) // Whac-A-Critter + rom_strcmp(0x94, "THE EARTH DEFEND") == 0 || + rom_strcmp(0xfe, "WISEGAME 11-03-1993") == 0 || // Funny World + rom_strcmp(0x95, "MALLET LEGEND ") == 0)) // Whac-A-Critter { carthw_realtec_startup(); }