support forwarders that pass in sd1:/

This commit is contained in:
Daryl Borth 2022-01-13 14:37:31 -07:00
parent c2ce4e4b5e
commit 603f018a33

View File

@ -459,8 +459,8 @@ void CreateAppPath(char * origpath)
int pos = 0;
// replace fat:/ with sd:/
if(strncmp(path, "fat:/", 5) == 0)
// replace fat:/ or sd1:/ with sd:/
if(strncmp(path, "fat:/", 5) == 0 || strncmp(path, "sd1:/", 5) == 0)
{
pos++;
path[1] = 's';