Fix an | that should have been an &

This commit is contained in:
Luke Usher 2017-11-29 19:40:47 +00:00
parent 5ec496287d
commit 8b179746f9
1 changed files with 1 additions and 1 deletions

View File

@ -2519,7 +2519,7 @@ VOID WINAPI XTL::EMUPATCH(D3DDevice_GetDisplayFieldStatus)(X_D3DFIELD_STATUS *pF
pFieldStatus->VBlankCount = g_VBData.VBlank;
// If we are interlaced, return the current field, otherwise, return progressive scan
if (displayMode.Flags | X_D3DPRESENTFLAG_INTERLACED) {
if (displayMode.Flags & X_D3DPRESENTFLAG_INTERLACED) {
pFieldStatus->Field = (g_VBData.VBlank % 2 == 0) ? X_D3DFIELD_ODD : X_D3DFIELD_EVEN;
} else {
pFieldStatus->Field = X_D3DFIELD_PROGRESSIVE;