citra-emu
/
citra-canary
Archived
1
0
Fork 0

Merge pull request #6119 from GPUCode/master

Fix graphical bugs in Yokai 2/3 games
This commit is contained in:
SachinVin 2022-09-10 15:34:46 +05:30 committed by GitHub
commit fd0430e079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -846,8 +846,7 @@ bool RasterizerCacheOpenGL::IntervalHasInvalidPixelFormat(SurfaceParams& params,
params.pixel_format = PixelFormat::Invalid; params.pixel_format = PixelFormat::Invalid;
for (const auto& set : RangeFromInterval(surface_cache, interval)) for (const auto& set : RangeFromInterval(surface_cache, interval))
for (const auto& surface : set.second) for (const auto& surface : set.second)
if (surface->pixel_format == PixelFormat::Invalid && if (surface->pixel_format == PixelFormat::Invalid) {
surface->type != SurfaceType::Fill) {
LOG_DEBUG(Render_OpenGL, "Surface {:#x} found with invalid pixel format", LOG_DEBUG(Render_OpenGL, "Surface {:#x} found with invalid pixel format",
surface->addr); surface->addr);
return true; return true;