Throw in assorted warning fixes

This commit is contained in:
Henrik Rydgård 2022-09-20 17:54:46 +02:00
parent f6cb6c7695
commit 85d1f28997
5 changed files with 7 additions and 2 deletions

View file

@ -1997,6 +1997,9 @@ static bool CanDepalettize(GETextureFormat texFormat, GEBufferFormat bufferForma
return true;
}
break;
case GE_FORMAT_CLUT8:
// Shouldn't happen here.
return false;
}
WARN_LOG(G3D, "Invalid CLUT/framebuffer combination: %s vs %s", GeTextureFormatToString(texFormat), GeBufferFormatToString(bufferFormat));
return false;