No quite right here (I was wrong when I refactored the code). The logic should be:
if the furthest right slash of `t_resolved_path` is not the first character then
    `t_resolved_path` is now the characters up to that slash (excluded)
    `fspecname` contains the characters after that slash.
else
    `t_resolved_path` remains unchanged
    `fspecname` is nil
end if

The function is only called by `MCPlayer::recordsound` - the other callers are never referenced - I guess that's why this mistake didn't cause any issue