mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-03 05:31:17 +00:00
matched MakeSourceName
This commit is contained in:
parent
20ab62de1a
commit
b8a700967e
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user