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

@@ -123,6 +123,11 @@ void Jit::ClearCache(bool poison_memory) {
impl->emitter.ClearCache();
}
void Jit::Reset() {
ASSERT(!is_executing);
impl->jit_state = {};
}
void Jit::HaltExecution() {
ASSERT(is_executing);
halt_requested = true;