From 1ef7d2101cec892d933f254c8b1773979743ce9c Mon Sep 17 00:00:00 2001 From: riccardom Date: Thu, 17 Jun 2010 15:55:59 +0000 Subject: [PATCH] Use strcasecmp instead of stricmp. On MSC_VER it's the same, see types.h. --- desmume/src/addons/gbagame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/addons/gbagame.cpp b/desmume/src/addons/gbagame.cpp index 8191795df..6cc851606 100644 --- a/desmume/src/addons/gbagame.cpp +++ b/desmume/src/addons/gbagame.cpp @@ -294,7 +294,7 @@ static void GBAgame_reset(void) 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 - if(!stricmp(GBAgameName,"self")) + if(!strcasecmp(GBAgameName,"self")) { strcpy(GBAgameName,path.path.c_str()); }