X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmain.c;h=bd4889899771ba070db515b01db033d85bc5e445;hb=cae602d4e6be9a8f5e75b220cbbe14b67d93550a;hp=d46e536fb90871dd541ef2811dc0b5c9c8ecdf2a;hpb=5b9aa74918361ff5d306c39cb695a77d7ea40b8f;p=pcsx_rearmed.git diff --git a/frontend/main.c b/frontend/main.c index d46e536f..bd488989 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -146,7 +146,6 @@ void emu_set_default_config(void) // try to set sane config on which most games work Config.Xa = Config.Cdda = Config.Sio = Config.SpuIrq = Config.RCntFix = Config.VSyncWA = 0; - Config.CdrReschedule = 0; Config.PsxAuto = 1; pl_rearmed_cbs.gpu_neon.allow_interlace = 2; // auto @@ -312,12 +311,19 @@ do_state_slot: hud_new_msg = 3; } +static char basic_lcase(char c) +{ + if ('A' <= c && c <= 'Z') + return c - 'A' + 'a'; + return c; +} + static int cdidcmp(const char *id1, const char *id2) { while (*id1 != 0 && *id2 != 0) { if (*id1 == '_') { id1++; continue; } if (*id2 == '_') { id2++; continue; } - if (*id1 != *id2) + if (basic_lcase(*id1) != basic_lcase(*id2)) break; id1++; id2++;