Use strcasecmp instead of stricmp. On MSC_VER it's the
same, see types.h.
This commit is contained in:
parent
b804c2e2b1
commit
1ef7d2101c
|
@ -294,7 +294,7 @@ static void GBAgame_reset(void)
|
||||||
FILE *fgame = 0;
|
FILE *fgame = 0;
|
||||||
|
|
||||||
//perk: if the gbagame name is "self" this is a special indicator that we should mount the main rom that we're running as the gba game
|
//perk: if the gbagame name is "self" this is a special indicator that we should mount the main rom that we're running as the gba game
|
||||||
if(!stricmp(GBAgameName,"self"))
|
if(!strcasecmp(GBAgameName,"self"))
|
||||||
{
|
{
|
||||||
strcpy(GBAgameName,path.path.c_str());
|
strcpy(GBAgameName,path.path.c_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue