From 1aa0e3869666e79a7023d5052051f74f3afee432 Mon Sep 17 00:00:00 2001 From: tomcw Date: Fri, 17 Feb 2023 17:20:56 +0000 Subject: [PATCH] Typo in comment --- source/CPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CPU.cpp b/source/CPU.cpp index 1cb014a8..5e4d5a54 100644 --- a/source/CPU.cpp +++ b/source/CPU.cpp @@ -728,7 +728,7 @@ void CpuSetupBenchmark () if ((++opcode >= BENCHOPCODES) || ((addr & 0x0F) >= 0x0B)) { *(mem+addr++) = 0x4C; - // split in 2 lines to avoid -Wunsequenced and undefined behvaiour + // split into 2 lines to avoid -Wunsequenced and undefined behaviour const BYTE value = (opcode >= BENCHOPCODES) ? 0x00 : ((addr >> 4)+1) << 4; *(mem+addr++) = value; *(mem+addr++) = 0x03;