Skip to content
Browse files

log when texture packs are opened/closed

  • Loading branch information...
1 parent 72eb444 commit 844c6c75e1c6645bd7500722ab3af9cd3e057563 Jonathan Marshall committed Mar 4, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 xbmc/guilib/TextureBundleXBT.cpp
View
3 xbmc/guilib/TextureBundleXBT.cpp
@@ -87,6 +87,8 @@ bool CTextureBundleXBT::OpenBundle()
return false;
}
+ CLog::Log(LOGDEBUG, "%s - Opened bundle %s", __FUNCTION__, strPath.c_str());
+
m_TimeStamp = m_XBTFReader.GetLastModificationTimestamp();
if (lzo_init() != LZO_E_OK)
@@ -248,6 +250,7 @@ void CTextureBundleXBT::Cleanup()
if (m_XBTFReader.IsOpen())
{
m_XBTFReader.Close();
+ CLog::Log(LOGDEBUG, "%s - Closed %sbundle", __FUNCTION__, m_themeBundle ? "theme " : "");
}
}

0 comments on commit 844c6c7

Please sign in to comment.
Something went wrong with that request. Please try again.