mirror of https://github.com/snes9xgit/snes9x.git
Fix syntax error.
This commit is contained in:
parent
e7cb965bfa
commit
4ec594f53a
4
gfx.cpp
4
gfx.cpp
|
@ -2116,10 +2116,10 @@ void S9xDrawCrosshair (const char *crosshair, uint8 fgcolor, uint8 bgcolor, int1
|
|||
uint8 p = crosshair[(r / rx) * 15 + (c / cx)];
|
||||
|
||||
if (p == '#' && fgcolor)
|
||||
*s = (fgcolor & 0x10) ? COLOR_ADD1_2(fg, *s) : fg;
|
||||
*s = (fgcolor & 0x10) ? COLOR_ADD::fn1_2(fg, *s) : fg;
|
||||
else
|
||||
if (p == '.' && bgcolor)
|
||||
*s = (bgcolor & 0x10) ? COLOR_ADD1_2(*s, bg) : bg;
|
||||
*s = (bgcolor & 0x10) ? COLOR_ADD::fn1_2(*s, bg) : bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue