mirror of https://github.com/PCSX2/pcsx2.git
GSdx: ... and codeblocks.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4383 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f9da2669a7
commit
913f384fe4
|
@ -50,16 +50,20 @@ GSDeviceSDL::~GSDeviceSDL()
|
|||
|
||||
bool GSDeviceSDL::Create(GSWnd* wnd)
|
||||
{
|
||||
m_window = (SDL_Window*)wnd->GetHandle();
|
||||
void* handle = wnd->GetHandle();
|
||||
|
||||
if(m_window == wnd->GetDisplay())
|
||||
if(handle == wnd->GetDisplay())
|
||||
{
|
||||
// HACK: no SDL window
|
||||
|
||||
m_window = SDL_CreateWindowFrom(wnd->GetHandle());
|
||||
m_window = SDL_CreateWindowFrom(handle);
|
||||
|
||||
m_free_window = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_window = (SDL_Window*)handle;
|
||||
}
|
||||
|
||||
return GSDeviceSW::Create(wnd);
|
||||
}
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#error TODO
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "GSDrawScanlineCodeGenerator.h"
|
||||
|
||||
#if _M_SSE < 0x500 && (defined(_M_AMD64) || defined(_WIN64))
|
||||
|
||||
#error TODO
|
||||
|
||||
void GSDrawScanlineCodeGenerator::Generate()
|
||||
{
|
||||
}
|
||||
|
@ -120,4 +120,4 @@ void GSDrawScanlineCodeGenerator::ReadTexel(const Xmm& dst, const Xmm& addr, uin
|
|||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -98,6 +98,10 @@
|
|||
<Unit filename="GSDrawScanline.h" />
|
||||
<Unit filename="GSDrawScanlineCodeGenerator.cpp" />
|
||||
<Unit filename="GSDrawScanlineCodeGenerator.h" />
|
||||
<Unit filename="GSDrawScanlineCodeGenerator.x64.avx.cpp" />
|
||||
<Unit filename="GSDrawScanlineCodeGenerator.x64.cpp" />
|
||||
<Unit filename="GSDrawScanlineCodeGenerator.x86.avx.cpp" />
|
||||
<Unit filename="GSDrawScanlineCodeGenerator.x86.cpp" />
|
||||
<Unit filename="GSDrawingContext.h" />
|
||||
<Unit filename="GSDrawingEnvironment.h" />
|
||||
<Unit filename="GSDump.cpp" />
|
||||
|
@ -122,6 +126,10 @@
|
|||
<Unit filename="GSSetting.h" />
|
||||
<Unit filename="GSSetupPrimCodeGenerator.cpp" />
|
||||
<Unit filename="GSSetupPrimCodeGenerator.h" />
|
||||
<Unit filename="GSSetupPrimCodeGenerator.x64.avx.cpp" />
|
||||
<Unit filename="GSSetupPrimCodeGenerator.x64.cpp" />
|
||||
<Unit filename="GSSetupPrimCodeGenerator.x86.avx.cpp" />
|
||||
<Unit filename="GSSetupPrimCodeGenerator.x86.cpp" />
|
||||
<Unit filename="GSState.cpp" />
|
||||
<Unit filename="GSState.h" />
|
||||
<Unit filename="GSTables.cpp" />
|
||||
|
@ -148,6 +156,10 @@
|
|||
<Unit filename="GSVertexSW.h" />
|
||||
<Unit filename="GSVertexTrace.cpp" />
|
||||
<Unit filename="GSVertexTrace.h" />
|
||||
<Unit filename="GSVertexTrace.x64.avx.cpp" />
|
||||
<Unit filename="GSVertexTrace.x64.cpp" />
|
||||
<Unit filename="GSVertexTrace.x86.avx.cpp" />
|
||||
<Unit filename="GSVertexTrace.x86.cpp" />
|
||||
<Unit filename="GSWnd.cpp" />
|
||||
<Unit filename="GSWnd.h" />
|
||||
<Unit filename="GSdx.cpp" />
|
||||
|
|
Loading…
Reference in New Issue