matched MakeSourceName

This commit is contained in:
MattKC 2023-09-25 14:57:49 -07:00
parent 20ab62de1a
commit b8a700967e

View File

@ -39,10 +39,22 @@ int LegoOmni::GetCurrPathInfo(LegoPathBoundary **,int &)
return 0; return 0;
} }
// OFFSET: LEGO1 0x100b6ff0 STUB // OFFSET: LEGO1 0x100b6ff0
void MakeSourceName(char *, const char *) void MakeSourceName(char *p_output, const char *p_input)
{ {
// TODO const char *cln = strchr(p_input, ':');
if (cln) {
p_input = cln + 1;
}
strcpy(p_output, p_input);
strlwr(p_output);
char *extLoc = strstr(p_output, ".si");
if (extLoc) {
*extLoc = 0;
}
} }
// OFFSET: LEGO1 0x100b7050 // OFFSET: LEGO1 0x100b7050