diff --git a/GBI.cpp b/GBI.cpp index cc8b97f5..d550fdf7 100644 --- a/GBI.cpp +++ b/GBI.cpp @@ -227,7 +227,7 @@ void GBIInfo::loadMicrocode(u32 uc_start, u32 uc_dstart, u16 uc_dsize) if (strncmp( &uc_str[4], "SW", 2 ) == 0) type = F3D; else if (strncmp( &uc_str[4], "Gfx", 3 ) == 0) { - current.NoN = (strncmp( &uc_str[20], ".NoN", 4 ) == 0); + current.NoN = (strstr( uc_str + 4, ".NoN") != NULL); if (strncmp( &uc_str[14], "F3D", 3 ) == 0) { if (uc_str[28] == '1' || strncmp(&uc_str[28], "0.95", 4) == 0 || strncmp(&uc_str[28], "0.96", 4) == 0)