Prevent SetConeOrientation's Popup Message Report

For now just surpress the pop up message and output a warning instead.
This commit is contained in:
RadWolfie 2017-10-25 17:34:19 -05:00
parent 6a705276b7
commit 3528fccb2e
1 changed files with 6 additions and 1 deletions

View File

@ -818,8 +818,13 @@ inline HRESULT HybridDirectSound3DBuffer_SetConeOrientation(
HRESULT hRet = DS_OK;
if (pDS3DBuffer != nullptr) {
// Test case: Turok Evolution, Jet Set Radio Future, ?
if (x == 0.0f && y == 0.0f && z == 0.0f) {
printf("WARNING: SetConeOrientation was called with x = 0, y = 0, and z = 0. Current action is ignore call to PC.\n");
} else {
hRet = pDS3DBuffer->SetConeOrientation(x, y, z, dwApply);
}
}
leaveCriticalSection;