From 0448234e687cd9881121ee62d42ce9c8179f65d7 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 21 Aug 2006 13:05:21 +0000 Subject: [PATCH] Dump mount points in debug builds. --- stepmania/src/RageFileManager.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index 6b10ac75c0..3da2b7c719 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -448,7 +448,11 @@ bool RageFileManager::Mount( const RString &sType, const RString &sRoot_, const ASSERT( !sRoot.empty() ); - CHECKPOINT_M( ssprintf("\"%s\", \"%s\", \"%s\"", sType.c_str(), sRoot.c_str(), sMountPoint.c_str() ) ); + const RString &sPaths = ssprintf( "\"%s\", \"%s\", \"%s\"", sType.c_str(), sRoot.c_str(), sMountPoint.c_str() ); + CHECKPOINT_M( sPaths ); +#if defined(DEBUG) + puts( sPaths ); +#endif // Unmount anything that was previously mounted here. Unmount( sType, sRoot, sMountPoint );