By its judgment, the Supreme Court may reverse, affirm, or modify the judgment or order appealed from, and may either direct a new trial or the entry by the trial court of such judgment as the Supreme Court deems is required under the record.
SDCL 15-26A-12