mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-08 06:46:28 +00:00
Interface: Added Jit::Reset to reset CPU state
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user