Oh, hey, SDL has their own API for this
Correct 320x200 aspect ratio, fix mouse scaling

Also some further removal of no-longer available options