Tweaked the path to load global shaders in the previous commit

* although 3.8 doesn't have the path issue as 4.x due to the lack of
loading custom .dat, it's better to unify the path in this case.

Refactored the code for DataLoadOrderPatch in the same way as 4.x.
This commit is contained in:
NovaRain
2019-12-15 10:31:50 +08:00
parent d73859fa5f
commit a9ad1a62eb
6 changed files with 57 additions and 48 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ GraphicsWidth=0
GraphicsHeight=0
;Uncomment the option to use a hardware shader (requires DX9 graphics mode 4 or 5)
;The shader file <name>.fx must be placed in data\shaders\ and must contain one technique with one or more passes
;The shader file <name>.fx must be placed in <GameRoot>\<master_patches>\shaders\ and must contain one technique with one or more passes
;GlobalShaderFile=global.fx
;Set to 1 to do the palette conversion on the GPU