Interface: Added Jit::Reset to reset CPU state

This commit is contained in:
MerryMage
2016-08-09 22:45:54 +01:00
parent 82f42d065f
commit 29d30bf931
2 changed files with 11 additions and 0 deletions

View File

@@ -57,6 +57,12 @@ public:
*/
void ClearCache(bool poison_memory = true);
/**
* Reset CPU state to state at startup. Does not clear code cache.
* Cannot be called from a callback.
*/
void Reset();
/**
* Stops execution in Jit::Run.
* Can only be called from a callback.