|
|
@ -144,7 +144,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
u64 GetTicksRemaining() override {
|
|
|
|
u64 GetTicksRemaining() override {
|
|
|
|
if (parent.uses_wall_clock) {
|
|
|
|
if (parent.uses_wall_clock) {
|
|
|
|
if (!parent.interrupt_handlers[parent.core_index].IsInterrupted()) {
|
|
|
|
if (!IsInterrupted()) {
|
|
|
|
return minimum_run_cycles;
|
|
|
|
return minimum_run_cycles;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0U;
|
|
|
|
return 0U;
|
|
|
@ -174,6 +174,10 @@ public:
|
|
|
|
parent.jit.load()->HaltExecution(hr);
|
|
|
|
parent.jit.load()->HaltExecution(hr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool IsInterrupted() {
|
|
|
|
|
|
|
|
return parent.system.Kernel().PhysicalCore(parent.core_index).IsInterrupted();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ARM_Dynarmic_32& parent;
|
|
|
|
ARM_Dynarmic_32& parent;
|
|
|
|
Core::Memory::Memory& memory;
|
|
|
|
Core::Memory::Memory& memory;
|
|
|
|
std::size_t num_interpreted_instructions{};
|
|
|
|
std::size_t num_interpreted_instructions{};
|
|
|
|