Sdl r wops 1.12

Backport of PR #155