I think this approach would be better ?

	bool noMip1 = (gstate.texlevel & 0xFFFFFF) == 0x000001;  // Fix texlevel at 0
	bool noMip2 =  (gstate.texlevel & 0xFFFFFF) == 0x100001;  // Fix texlevel at 1

	// Mipmapping OFF 
	if (!g_Config.bMipMap || noMip1 || noMip2 ) {
		magFilt &= 1;
		minFilt &= 1;
	}