nulldc: Remove some hardcoded values
This commit is contained in:
parent
1611f98191
commit
7e854f6544
|
@ -44,9 +44,6 @@ int GetFile(char *szFileName, char *szParse=0,u32 flags=0)
|
||||||
cfgLoadStr("config","image",szFileName,"null");
|
cfgLoadStr("config","image",szFileName,"null");
|
||||||
if (strcmp(szFileName,"null")==0)
|
if (strcmp(szFileName,"null")==0)
|
||||||
{
|
{
|
||||||
#if defined(OMAP4)
|
|
||||||
strcpy(szFileName,GetPath("/gdimage/crazy_taxi.chd").c_str());
|
|
||||||
#else
|
|
||||||
#if HOST_OS==OS_WINDOWS
|
#if HOST_OS==OS_WINDOWS
|
||||||
OPENFILENAME ofn;
|
OPENFILENAME ofn;
|
||||||
ZeroMemory( &ofn , sizeof( ofn));
|
ZeroMemory( &ofn , sizeof( ofn));
|
||||||
|
@ -67,18 +64,9 @@ int GetFile(char *szFileName, char *szParse=0,u32 flags=0)
|
||||||
//already there
|
//already there
|
||||||
//strcpy(szFileName,ofn.lpstrFile);
|
//strcpy(szFileName,ofn.lpstrFile);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
strcpy(szFileName,GetPath("/game.chd").c_str());
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(szFileName,"hardpath")==0)
|
|
||||||
{
|
|
||||||
strcpy(szFileName,"D:\\DC\\shenmue.chd");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue