From 2cc1e28fb2d34ff245c69c99fe29d3e98fd58b06 Mon Sep 17 00:00:00 2001 From: beeanyew Date: Sat, 20 Feb 2021 17:59:12 +0100 Subject: [PATCH] Update emulator.c --- emulator.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/emulator.c b/emulator.c index c123830..4d34965 100644 --- a/emulator.c +++ b/emulator.c @@ -66,6 +66,8 @@ int mem_fd_gpclk; int irq; int gayleirq; +#define NOP asm("nop"); asm("nop"); asm("nop"); asm("nop"); + // Configurable emulator options unsigned int cpu_type = M68K_CPU_TYPE_68000; unsigned int loop_cycles = 300; @@ -94,6 +96,18 @@ void *iplThread(void *args) { gayleirq = 0; } //usleep(0); + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP + NOP NOP NOP NOP NOP NOP } return args; }