SteveLeafo / Budford

Budford: Cemu configuration, settings and auto update tool. Per game settings and more...
Mozilla Public License 2.0
24 stars 3 forks source link

fix shadercache folder path construction #23

Closed jdsmith2816 closed 6 years ago

jdsmith2816 commented 6 years ago

Launcher#DeleteShaderCaceIfRequired constructs two folder paths based off of SpecialFolders#ShaderFolderCemu by appending "transferable" and "precompiled" to it's output.

SpecialFolers#ShaderFolderCemu is already attaching "transferable" in this case which causes the folder paths to be %CEMUFOLDER%\shaderCache\transferabe\transferable and %CEMUFOLDER%\shaderCache\transferable\precompiled respectively...

This results in an exception and failure to load the game when it happens.

This change just throws a ".." into the mix so that you wind up with a valid path resolving the issue for me.