OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
313 stars 26 forks source link

Replace OUT hook with HLT hook #60

Closed JayFoxRox closed 6 years ago

JayFoxRox commented 6 years ago

This has been confirmed to work with KVM and it should be faster too.

JayFoxRox commented 6 years ago

I've looked into this. It will work very nicely, but we'll have to change how the entire out-handling works. unicorn engine returns from uc_emu_start without giving any signal as to why that happened.

KVM gets an exit reason instead.

Both of these will have eip set 1 higher than expected.