Typo in comment

This commit is contained in:
tomcw 2023-02-17 17:20:56 +00:00
parent fb11c74d62
commit 1aa0e38696
1 changed files with 1 additions and 1 deletions

View File

@ -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;