From 5a156aba060943635d8ed68326be8aec7382a3f9 Mon Sep 17 00:00:00 2001 From: Folkert van Heusden Date: Wed, 26 Jun 2024 20:58:08 +0200 Subject: [PATCH] Revert "no longer used" This reverts commit 5e2c8a7f57767220b5dad23bc8ea28bb9293efc7. --- cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cpu.h b/cpu.h index 5ff417c..df2d89a 100644 --- a/cpu.h +++ b/cpu.h @@ -149,6 +149,7 @@ class cpu void init_interrupt_queue(); void queue_interrupt(const uint8_t level, const uint8_t vector); std::map > get_queued_interrupts() const { return queued_interrupts; } + std::optional get_interrupt_delay_left() const { return trap_delay; } bool check_if_interrupts_pending() const { return any_queued_interrupts; } void trap(uint16_t vector, const int new_ipl = -1, const bool is_interrupt = false);