I think I have to change this for the emulator, using an #ifdef, but I can do that myself.