allow using swap in the emulator
Merge pull request #132 from andreas-schwab/master

allow using swap in the emulator