Fix Controller in Lego Star Wars (and others)

This commit is contained in:
Luke Usher 2017-05-05 08:09:39 +01:00
parent 916e793104
commit 503bb2e077
3 changed files with 4 additions and 8 deletions

View File

@ -2715,10 +2715,10 @@ HRESULT WINAPI XTL::EMUPATCH(D3DDevice_CreateVertexShader)
}
LPD3DXBUFFER pRecompiledBuffer = NULL;
DWORD *pRecompiledDeclaration;
DWORD *pRecompiledDeclaration = NULL;
DWORD *pRecompiledFunction = NULL;
DWORD VertexShaderSize = 0;
DWORD DeclarationSize;
DWORD DeclarationSize = 0;
DWORD Handle = 0;
HRESULT hRet = XTL::EmuRecompileVshDeclaration((DWORD*)pDeclaration,
@ -9588,8 +9588,8 @@ HRESULT WINAPI XTL::EMUPATCH(D3D_MakeRequestedSpace)( DWORD Unknown1, DWORD Unkn
// create an XRef...
LOG_UNIMPLEMENTED();
__asm int 3;
CxbxKrnlCleanup("D3D::MakeRequestedSpace not implemented (tell blueshogun)");
//__asm int 3;
//CxbxKrnlCleanup("D3D::MakeRequestedSpace not implemented (tell blueshogun)");
return S_OK;

View File

@ -182,7 +182,6 @@ DWORD WINAPI XTL::EMUPATCH(XGetDevices)
RETURN(ret);
}
#if 0 // patch disabled
// ******************************************************************
// * patch: XGetDeviceChanges
// ******************************************************************
@ -228,7 +227,6 @@ BOOL WINAPI XTL::EMUPATCH(XGetDeviceChanges)
RETURN(TRUE); // TODO : RETURN(bRet);
}
#endif
// ******************************************************************
// * patch: XInputOpen

View File

@ -380,7 +380,6 @@ DWORD WINAPI EMUPATCH(XGetDevices)
XPP_DEVICE_TYPE *DeviceType
);
#if 0 // patch disabled
// ******************************************************************
// * patch: XGetDeviceChanges
// ******************************************************************
@ -390,7 +389,6 @@ BOOL WINAPI EMUPATCH(XGetDeviceChanges)
PDWORD pdwInsertions,
PDWORD pdwRemovals
);
#endif
// ******************************************************************
// * patch: XInputOpen