Emulator Issues #3801
closedUser/ShaderCache/* files do not update after first creation
0%
Description
What's the problem?
The ShaderCache files are never updated after they are first created. I have a patch to resolve the issue.
Dolphin version with the problem (as it appears in the title bar, Ex.: "R
4779" or "R 6403M"):
Existing working functionality was broken by r6420 when it was rewritten to use C++ iostream class.
Patch is attached.
- James Dunne
Updated by james.jdunne over 14 years ago
I do have a word of warning. This will exhibit "choppy" behavior where the emulation crawls to a near-halt when compiling shaders, but it should cache the compiled shader bytecode forever after that, or at least until the LINEAR_DISKCACHE_VER value changes :). Then again, I didn't introduce any new functionality, just brought back old working functionality which a bug overtook and produced less of a slowdown for compiling shaders because it didn't append to the appropriate shader cache file and flush to disk.