Added support for subdir and sync of dll and ini names
https://github.com/FunkyFr3sh/cnc-ddraw/issues/287
This commit is contained in:
parent
d147e91630
commit
d70d316c7e
3 changed files with 25 additions and 4 deletions
|
@ -160,7 +160,7 @@ static void ogl_build_programs()
|
|||
|
||||
if (GetFileAttributes(shader_path) == INVALID_FILE_ATTRIBUTES)
|
||||
{
|
||||
_snprintf(shader_path, sizeof(shader_path) - 1, "%s%s", g_config.game_path, g_config.shader);
|
||||
_snprintf(shader_path, sizeof(shader_path) - 1, "%s%s", g_config.dll_path, g_config.shader);
|
||||
}
|
||||
|
||||
/* detect common upscaling shaders and disable them if no upscaling is required */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue