From 9b0150b6a1e0e65b7f2871153e1e8ba6629dd58e Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sun, 22 Sep 2024 13:30:20 +0200 Subject: [PATCH] remove CPU_SPIN_LOOP references Signed-off-by: Gwenhael Le Moine --- src/cpu.c | 5 ----- src/cpu.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/src/cpu.c b/src/cpu.c index 135f827..1eddce4 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -2515,11 +2515,6 @@ void CpuReset( void ) /* Set inner_loop and inner_loop_max to default values */ cpu_status.inner_loop = INNER_LOOP_MED; cpu_status.inner_loop_max = 0; - - /* Reset reset_req if necessary */ -#ifdef CPU_SPIN_LOOP - cpu_status.reset_req = 0; -#endif } /* .+ diff --git a/src/cpu.h b/src/cpu.h index 74686a2..7feaee3 100644 --- a/src/cpu.h +++ b/src/cpu.h @@ -270,10 +270,6 @@ struct CpuStatus { #define INNER_LOOP_MAX 26 #define INNER_LOOP_MED 13 #define INNER_LOOP_MIN 2 - -#ifdef CPU_SPIN_LOOP - int reset_req; /* Reset req. after shutdn */ -#endif }; enum ExitOption /* 2.1: EmulatorExit() option */