port to sdl2

Builds fine. Not sure how to run this though -- none of my ROMs seem to work (with the master branch even).