mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: open the dat file...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4817 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f9b8f5c786
commit
6b8a605845
|
@ -304,7 +304,8 @@ __forceinline bool LoadShadersFromDat()
|
||||||
#ifdef PLUGIN_DIR_COMPILATION
|
#ifdef PLUGIN_DIR_COMPILATION
|
||||||
#define xPLUGIN_DIR_str(s) PLUGIN_DIR_str(s)
|
#define xPLUGIN_DIR_str(s) PLUGIN_DIR_str(s)
|
||||||
#define PLUGIN_DIR_str(s) #s
|
#define PLUGIN_DIR_str(s) #s
|
||||||
fres = fopen( xPLUGIN_DIR_str(PLUGIN_DIR_COMPILATION), "rb");
|
const std::string shader_file = string(xPLUGIN_DIR_str(PLUGIN_DIR_COMPILATION)) + "/ps2hw.dat";
|
||||||
|
fres = fopen(shader_file.c_str(), "rb");
|
||||||
#endif
|
#endif
|
||||||
if (fres == NULL)
|
if (fres == NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue