Fix missing if statement.
This commit is contained in:
parent
686a178778
commit
89495606ce
|
@ -2509,7 +2509,9 @@ VOID WINAPI XTL::EMUPATCH(D3DDevice_GetDisplayFieldStatus)(X_D3DFIELD_STATUS *pF
|
|||
static XB_D3DDevice_GetDisplayMode_t XB_D3DDevice_GetDisplayMode = (XB_D3DDevice_GetDisplayMode_t)GetXboxFunctionPointer("D3DDevice_GetDisplayMode");
|
||||
|
||||
// Check the function pointer for validity, if it is not valid, we must abort as we have a missing OOVPA
|
||||
CxbxKrnlCleanup("D3DDevice_GetDisplayFieldStatus: Could not locate D3DDevice_GetDisplayMode");
|
||||
if (XB_D3DDevice_GetDisplayMode == nullptr) {
|
||||
CxbxKrnlCleanup("D3DDevice_GetDisplayFieldStatus: Could not locate D3DDevice_GetDisplayMode");
|
||||
}
|
||||
|
||||
// Call the Xbox GetDisplayMode function to retrieve flags for the active video mode
|
||||
X_D3DDISPLAYMODE displayMode;
|
||||
|
|
Loading…
Reference in New Issue