Welcome, Guest. Please login or register.

Author Topic: How to detect if an emulator is being used ?  (Read 6658 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: How to detect if an emulator is being used ?
« on: March 03, 2011, 02:40:05 PM »
I think it is fair to say there is no single test to determine if your code is running under emulation. You can look for tell-tale resources to determine if your code is running under OS4, MorphOS and UAE, but even if you don't find any of those, there's no guarantee you aren't in an emulation of some description. After all, the "perfect" emulator should be totally indistinguishable from the real thing as far as any userland code is concerned.
int p; // A