mirror of https://github.com/PCSX2/pcsx2.git
gsdx:windows: Fix crash on psx side of plugin
I forgot it had a psx emu interface.
This commit is contained in:
parent
23289c09bb
commit
fb97de7f79
|
@ -74,6 +74,7 @@ EXPORT_C_(int32) GPUclose()
|
|||
s_gpu = NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
GSDeviceDX::FreeD3DCompiler();
|
||||
|
||||
if(SUCCEEDED(s_hr))
|
||||
{
|
||||
|
@ -105,6 +106,8 @@ EXPORT_C_(int32) GPUopen(void* hWnd)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (!GSDeviceDX::LoadD3DCompiler())
|
||||
return -1;
|
||||
#endif
|
||||
|
||||
int renderer = theApp.GetConfig("Renderer", 1);
|
||||
|
|
|
@ -74,6 +74,7 @@ EXPORT_C_(int32) GPUclose()
|
|||
s_gpu = NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
GSDeviceDX::FreeD3DCompiler();
|
||||
|
||||
if(SUCCEEDED(s_hr))
|
||||
{
|
||||
|
@ -105,6 +106,8 @@ EXPORT_C_(int32) GPUopen(void* hWnd)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (!GSDeviceDX::LoadD3DCompiler())
|
||||
return -1;
|
||||
#endif
|
||||
|
||||
int renderer = theApp.GetConfig("Renderer", 1);
|
||||
|
|
Loading…
Reference in New Issue