Typo in comment
This commit is contained in:
parent
fb11c74d62
commit
1aa0e38696
|
@ -728,7 +728,7 @@ void CpuSetupBenchmark ()
|
||||||
if ((++opcode >= BENCHOPCODES) || ((addr & 0x0F) >= 0x0B))
|
if ((++opcode >= BENCHOPCODES) || ((addr & 0x0F) >= 0x0B))
|
||||||
{
|
{
|
||||||
*(mem+addr++) = 0x4C;
|
*(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;
|
const BYTE value = (opcode >= BENCHOPCODES) ? 0x00 : ((addr >> 4)+1) << 4;
|
||||||
*(mem+addr++) = value;
|
*(mem+addr++) = value;
|
||||||
*(mem+addr++) = 0x03;
|
*(mem+addr++) = 0x03;
|
||||||
|
|
Loading…
Reference in New Issue