The fourth Emerald is hidden in a secret room in Act 1, beneath the first rail. Keep heading right, then wall-jump or fly up the wall and continue right — the Emerald will be waiting there.