mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Windows: Let's not link with D3DX, requiring that DLL, until we actually use the D3DX shader compiler.
This commit is contained in:
parent
7c8a6c88d6
commit
0c2c1751f5
@ -77,8 +77,9 @@ bool CompilePixelShader(const char * code, LPDIRECT3DPIXELSHADER9 * pShader, LPD
|
||||
ID3DXBuffer* pShaderCode;
|
||||
ID3DXBuffer* pErrorMsg;
|
||||
|
||||
HRESULT hr;
|
||||
HRESULT hr = -1;
|
||||
|
||||
#ifdef _XBOX
|
||||
// Compile pixel shader.
|
||||
hr = D3DXCompileShader( code,
|
||||
(UINT)strlen( code ),
|
||||
@ -90,6 +91,7 @@ bool CompilePixelShader(const char * code, LPDIRECT3DPIXELSHADER9 * pShader, LPD
|
||||
&pShaderCode,
|
||||
&pErrorMsg,
|
||||
pShaderTable );
|
||||
#endif
|
||||
if( FAILED(hr) )
|
||||
{
|
||||
OutputDebugStringA((CHAR*)pErrorMsg->GetBufferPointer());
|
||||
@ -112,9 +114,10 @@ bool CompileVertexShader(const char * code, LPDIRECT3DVERTEXSHADER9 * pShader, L
|
||||
ID3DXBuffer* pShaderCode;
|
||||
ID3DXBuffer* pErrorMsg;
|
||||
|
||||
HRESULT hr;
|
||||
HRESULT hr = -1;
|
||||
|
||||
// Compile pixel shader.
|
||||
#ifdef _XBOX
|
||||
hr = D3DXCompileShader( code,
|
||||
(UINT)strlen( code ),
|
||||
NULL,
|
||||
@ -125,6 +128,7 @@ bool CompileVertexShader(const char * code, LPDIRECT3DVERTEXSHADER9 * pShader, L
|
||||
&pShaderCode,
|
||||
&pErrorMsg,
|
||||
pShaderTable );
|
||||
#endif
|
||||
if( FAILED(hr) )
|
||||
{
|
||||
OutputDebugStringA((CHAR*)pErrorMsg->GetBufferPointer());
|
||||
@ -144,7 +148,10 @@ bool CompileVertexShader(const char * code, LPDIRECT3DVERTEXSHADER9 * pShader, L
|
||||
void CompileShaders() {
|
||||
ID3DXBuffer* pShaderCode;
|
||||
ID3DXBuffer* pErrorMsg;
|
||||
HRESULT hr;
|
||||
HRESULT hr = -1;
|
||||
|
||||
#ifdef _XBOX
|
||||
|
||||
// Compile vertex shader.
|
||||
hr = D3DXCompileShader( vscode,
|
||||
(UINT)strlen( vscode ),
|
||||
@ -156,6 +163,8 @@ void CompileShaders() {
|
||||
&pShaderCode,
|
||||
&pErrorMsg,
|
||||
NULL );
|
||||
#endif
|
||||
|
||||
if( FAILED(hr) )
|
||||
{
|
||||
OutputDebugStringA((CHAR*)pErrorMsg->GetBufferPointer());
|
||||
@ -168,6 +177,7 @@ void CompileShaders() {
|
||||
|
||||
pShaderCode->Release();
|
||||
|
||||
#ifdef _XBOX
|
||||
// Compile pixel shader.
|
||||
hr = D3DXCompileShader( pscode,
|
||||
(UINT)strlen( pscode ),
|
||||
@ -179,6 +189,8 @@ void CompileShaders() {
|
||||
&pShaderCode,
|
||||
&pErrorMsg,
|
||||
NULL );
|
||||
#endif
|
||||
|
||||
if( FAILED(hr) )
|
||||
{
|
||||
OutputDebugStringA((CHAR*)pErrorMsg->GetBufferPointer());
|
||||
|
11
README.md
11
README.md
@ -15,13 +15,20 @@ For the latest source code and build instructions, see [our github page][ppsspp-
|
||||
|
||||
What's new in 0.9.5
|
||||
-------------------
|
||||
* Many, many emulation fixes including bezier/spline curve support, fixing LocoRoco and others
|
||||
* Many, many emulation fixes:
|
||||
- bezier/spline curve support, fixing LocoRoco and others
|
||||
- stencil clear emulation, fixing Final Fantasy IV text
|
||||
* Performance improvements in some games
|
||||
* Post-processing shaders like FXAA, scanlines, vignette
|
||||
* More solid save states (we will try to keep them working from now on. Save states only upgrade forward,
|
||||
not backward to older versions though).
|
||||
* Huge debugger improvements
|
||||
* ...
|
||||
* Made Win32 menu bar translatable, and NewUI instantly changes when a new language is selected
|
||||
* Multiple UI bugs were fixed
|
||||
* Win32: Ability to store PPSSPP's config files and memory stick files in places other than the same directory
|
||||
* Android-x86 support
|
||||
* Unofficial port for modified Xbox 360 consoles
|
||||
|
||||
|
||||
Basic build instructions
|
||||
------------------------
|
||||
|
@ -1,4 +1,4 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PPSSPPWindows", "PPSSPP.vcxproj", "{567AF8DB-42C1-4D08-96CD-D70A2DFEFC6B}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
|
@ -127,7 +127,7 @@
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86\lib\avcodec.lib;..\ffmpeg\Windows\x86\lib\avdevice.lib;..\ffmpeg\Windows\x86\lib\avformat.lib;..\ffmpeg\Windows\x86\lib\avutil.lib;..\ffmpeg\Windows\x86\lib\swresample.lib;..\ffmpeg\Windows\x86\lib\swscale.lib;comctl32.lib;xinput.lib;d3d9.lib;d3dx9d.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86\lib\avcodec.lib;..\ffmpeg\Windows\x86\lib\avdevice.lib;..\ffmpeg\Windows\x86\lib\avformat.lib;..\ffmpeg\Windows\x86\lib\avutil.lib;..\ffmpeg\Windows\x86\lib\swresample.lib;..\ffmpeg\Windows\x86\lib\swscale.lib;comctl32.lib;xinput.lib;d3d9.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
@ -160,7 +160,7 @@
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86_64\lib\avcodec.lib;..\ffmpeg\Windows\x86_64\lib\avdevice.lib;..\ffmpeg\Windows\x86_64\lib\avformat.lib;..\ffmpeg\Windows\x86_64\lib\avutil.lib;..\ffmpeg\Windows\x86_64\lib\swresample.lib;..\ffmpeg\Windows\x86_64\lib\swscale.lib;comctl32.lib;d3d9.lib;d3dx9d.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86_64\lib\avcodec.lib;..\ffmpeg\Windows\x86_64\lib\avdevice.lib;..\ffmpeg\Windows\x86_64\lib\avformat.lib;..\ffmpeg\Windows\x86_64\lib\avutil.lib;..\ffmpeg\Windows\x86_64\lib\swresample.lib;..\ffmpeg\Windows\x86_64\lib\swscale.lib;comctl32.lib;d3d9.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
@ -194,7 +194,7 @@
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86\lib\avcodec.lib;..\ffmpeg\Windows\x86\lib\avdevice.lib;..\ffmpeg\Windows\x86\lib\avformat.lib;..\ffmpeg\Windows\x86\lib\avutil.lib;..\ffmpeg\Windows\x86\lib\swresample.lib;..\ffmpeg\Windows\x86\lib\swscale.lib;comctl32.lib;d3d9.lib;d3dx9.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86\lib\avcodec.lib;..\ffmpeg\Windows\x86\lib\avdevice.lib;..\ffmpeg\Windows\x86\lib\avformat.lib;..\ffmpeg\Windows\x86\lib\avutil.lib;..\ffmpeg\Windows\x86\lib\swresample.lib;..\ffmpeg\Windows\x86\lib\swscale.lib;comctl32.lib;d3d9.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
@ -235,7 +235,7 @@
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86_64\lib\avcodec.lib;..\ffmpeg\Windows\x86_64\lib\avdevice.lib;..\ffmpeg\Windows\x86_64\lib\avformat.lib;..\ffmpeg\Windows\x86_64\lib\avutil.lib;..\ffmpeg\Windows\x86_64\lib\swresample.lib;..\ffmpeg\Windows\x86_64\lib\swscale.lib;comctl32.lib;d3d9.lib;d3dx9.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86_64\lib\avcodec.lib;..\ffmpeg\Windows\x86_64\lib\avdevice.lib;..\ffmpeg\Windows\x86_64\lib\avformat.lib;..\ffmpeg\Windows\x86_64\lib\avutil.lib;..\ffmpeg\Windows\x86_64\lib\swresample.lib;..\ffmpeg\Windows\x86_64\lib\swscale.lib;comctl32.lib;d3d9.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
|
Binary file not shown.
2
lang
2
lang
@ -1 +1 @@
|
||||
Subproject commit 3b6ae585eac520f8c39e164fe4d0962efdaca51e
|
||||
Subproject commit 76856ecfddcc3984f7e6b0fa637bdbe2af5a4e75
|
Loading…
Reference in New Issue
Block a user