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,49 +54,53 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
|
|||
|
||||
static void InitLibraryName()
|
||||
{
|
||||
if( !IsDevBuild )
|
||||
{
|
||||
// Public Release!
|
||||
// Output a simplified string that's just our name:
|
||||
#ifdef SPU2X_PUBLIC_RELEASE
|
||||
|
||||
strcpy( libraryName, "SPU2-X" );
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef SVN_REV_UNKNOWN
|
||||
// Public Release!
|
||||
// Output a simplified string that's just our name:
|
||||
|
||||
// Unknown revision.
|
||||
// Output a name that includes devbuild status but not
|
||||
// subversion revision tags:
|
||||
strcpy( libraryName, "SPU2-X" );
|
||||
|
||||
strcpy( libraryName, "SPU2-X"
|
||||
#ifdef DEBUG_FAST
|
||||
"-Debug"
|
||||
#elif defined( PCSX2_DEBUG )
|
||||
"-Debug/Strict" // strict debugging is slow!
|
||||
#else
|
||||
"-Dev"
|
||||
#endif
|
||||
);
|
||||
#else
|
||||
#ifdef SVN_REV_UNKNOWN
|
||||
|
||||
#else
|
||||
// Unknown revision.
|
||||
// Output a name that includes devbuild status but not
|
||||
// subversion revision tags:
|
||||
|
||||
// Use TortoiseSVN's SubWCRev utility's output
|
||||
// to label the specific revision:
|
||||
strcpy( libraryName, "SPU2-X"
|
||||
#ifdef DEBUG_FAST
|
||||
"-Debug"
|
||||
#elif defined( PCSX2_DEBUG )
|
||||
"-Debug/Strict" // strict debugging is slow!
|
||||
#elif defined( PCSX2_DEVBUILD )
|
||||
"-Dev"
|
||||
#else
|
||||
""
|
||||
#endif
|
||||
);
|
||||
|
||||
#else
|
||||
|
||||
// Use TortoiseSVN's SubWCRev utility's output
|
||||
// to label the specific revision:
|
||||
|
||||
sprintf_s( libraryName, "SPU2-X r%d%s"
|
||||
#ifdef DEBUG_FAST
|
||||
"-Debug"
|
||||
#elif defined( PCSX2_DEBUG )
|
||||
"-Debug/Strict" // strict debugging is slow!
|
||||
#elif defined( PCSX2_DEVBUILD )
|
||||
"-Dev"
|
||||
#else
|
||||
""
|
||||
#endif
|
||||
,SVN_REV,
|
||||
SVN_MODS ? "m" : ""
|
||||
);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
sprintf_s( libraryName, "SPU2-X r%d%s"
|
||||
#ifdef DEBUG_FAST
|
||||
"-Debug"
|
||||
#elif defined( PCSX2_DEBUG )
|
||||
"-Debug/Strict" // strict debugging is slow!
|
||||
#else
|
||||
"-Dev"
|
||||
#endif
|
||||
,SVN_REV,
|
||||
SVN_MODS ? "m" : ""
|
||||
);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
EXPORT_C_(u32) PS2EgetLibType()
|
||||
|
|
Loading…
Reference in New Issue