How To Make An Emulator In C++