-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added compatible linker_pc executable.
- Loading branch information
Showing
11 changed files
with
82 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
#include "proxy_lib.hpp" | ||
|
||
#pragma comment(linker, "/export:D3DXGetShaderOutputSemantics=_D3DXGetShaderOutputSemantics@12") | ||
// pSemantics is D3DXSEMANTIC* | ||
HRESULT WINAPI stub_D3DXGetShaderOutputSemantics(const DWORD *pFunction, void *pSemantics, UINT *pCount) | ||
extern "C" HRESULT WINAPI D3DXGetShaderOutputSemantics(const DWORD *pFunction, void *pSemantics, UINT *pCount) | ||
{ | ||
return CProxyLib::Instance().D3DXGetShaderOutputSemantics(pFunction, pSemantics, pCount); | ||
} | ||
|
||
#pragma comment(linker, "/export:D3DXCreateBuffer=_D3DXCreateBuffer@8") | ||
// ppBuffer is LPD3DXBUFFER* | ||
HRESULT WINAPI stub_D3DXCreateBuffer(DWORD NumBytes, DWORD ppBuffer) | ||
extern "C" HRESULT WINAPI D3DXCreateBuffer(DWORD NumBytes, DWORD ppBuffer) | ||
{ | ||
return CProxyLib::Instance().D3DXCreateBuffer(NumBytes, ppBuffer); | ||
} | ||
|
||
#pragma comment(linker, "/export:D3DXGetShaderInputSemantics=_D3DXGetShaderInputSemantics@12") | ||
// pSemantics is D3DXSEMANTIC* | ||
HRESULT WINAPI stub_D3DXGetShaderInputSemantics(const DWORD *pFunction, void *pSemantics, UINT *pCount) | ||
extern "C" HRESULT WINAPI D3DXGetShaderInputSemantics(const DWORD *pFunction, void *pSemantics, UINT *pCount) | ||
{ | ||
return CProxyLib::Instance().D3DXGetShaderInputSemantics(pFunction, pSemantics, pCount); | ||
} | ||
|
||
#pragma comment(linker, "/export:D3DXGetShaderConstantTable=_D3DXGetShaderConstantTable@8") | ||
// ppConstantTable is LPD3DXCONSTANTTABLE* | ||
HRESULT WINAPI stub_D3DXGetShaderConstantTable(const DWORD *pFunction, void *ppConstantTable) | ||
extern "C" HRESULT WINAPI D3DXGetShaderConstantTable(const DWORD *pFunction, void *ppConstantTable) | ||
{ | ||
return CProxyLib::Instance().D3DXGetShaderConstantTable(pFunction, ppConstantTable); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.