mirror of https://github.com/PCSX2/pcsx2.git
SPU2-X: Added SVN revision info to the SPU2-X name reported back to PCSX2, so that it shows up in the plugin lists. (previously only did so in dev/debug builds, now does it for release too).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2068 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
6fdaea2c79
commit
beed14bfee
|
@ -54,15 +54,14 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
|
|||
|
||||
static void InitLibraryName()
|
||||
{
|
||||
if( !IsDevBuild )
|
||||
{
|
||||
#ifdef SPU2X_PUBLIC_RELEASE
|
||||
|
||||
// Public Release!
|
||||
// Output a simplified string that's just our name:
|
||||
|
||||
strcpy( libraryName, "SPU2-X" );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
#else
|
||||
#ifdef SVN_REV_UNKNOWN
|
||||
|
||||
// Unknown revision.
|
||||
|
@ -74,8 +73,10 @@ static void InitLibraryName()
|
|||
"-Debug"
|
||||
#elif defined( PCSX2_DEBUG )
|
||||
"-Debug/Strict" // strict debugging is slow!
|
||||
#else
|
||||
#elif defined( PCSX2_DEVBUILD )
|
||||
"-Dev"
|
||||
#else
|
||||
""
|
||||
#endif
|
||||
);
|
||||
|
||||
|
@ -89,14 +90,17 @@ static void InitLibraryName()
|
|||
"-Debug"
|
||||
#elif defined( PCSX2_DEBUG )
|
||||
"-Debug/Strict" // strict debugging is slow!
|
||||
#else
|
||||
#elif defined( PCSX2_DEVBUILD )
|
||||
"-Dev"
|
||||
#else
|
||||
""
|
||||
#endif
|
||||
,SVN_REV,
|
||||
SVN_MODS ? "m" : ""
|
||||
);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
EXPORT_C_(u32) PS2EgetLibType()
|
||||
|
|
Loading…
Reference in New Issue