Commit e293704f authored by Robert Sprowson's avatar Robert Sprowson

Expression evaluation fix

Some missing brackets resulted in interlace always being non-zero and a general lack of video output.

parent 1f78441a
......@@ -182,7 +182,7 @@ static int do_setmode(_kernel_swi_regs *r)
/* Determine interlace setting */
int interlace = (params->SyncPol & (SyncPol_Interlace | SyncPol_InterlaceFields)) ==
SyncPol_Interlace | SyncPol_InterlaceFields;
(SyncPol_Interlace | SyncPol_InterlaceFields);
pixelformat format = getformat(params);
dprintf(("","do_setmode: format %s\n",pixelformatnames[format]));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment