Files
ppsspp/GPU/Metal
Henrik RydgårdandClaude Opus 5.5 b18792e40e Replacement: Treat a fake mipmap level as level 0 of its own texture
- Fixes #19623

With a fake mipmap change (Japanese Tactics Ogre), each PSP level is cached and hashed as its own
2D texture, but since 73c06bb776 (v1.14) the replacement and dump code used the PSP level as the
replacement level. Loading a replacement for a level-2 font sheet asked for level 2 of a one-level
replacement and hit the "Invalid miplevel" assert, and dumps were named _2, which the ini then
treats as an ignored texture. Use the created texture's level for both again, as 1.13.2 did.

Also don't force mip filtering from a mipmapped replacement when only one level was uploaded.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 11:22:31 +02:00
..