[merge] latest SWGemu version of rotate command