mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-30 16:15:03 +01:00
_CONTENT_PACKAGE guard some debug log spam
This commit is contained in:
1 parent
ed819966c0
commit
f1d077e6b3
13 files changed
+41
No files matched your search
@@ -34,7 +34,9 @@ HRESULT UIScene_PauseMenu::OnInit( XUIMessageInit* pInitData, BOOL& bHandled )
|
||||
m_iPad = *static_cast<int *>(pInitData->pvInitData);
|
||||
bool bUserisClientSide = ProfileManager.IsSignedInLive(m_iPad);
|
||||
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
app.DebugPrintf("PAUSE PRESS PROCESSING - ipad = %d, UIScene_PauseMenu::OnInit\n",m_iPad);
|
||||
#endif
|
||||
|
||||
bool bIsisPrimaryHost=g_NetworkManager.IsHost() && (ProfileManager.GetPrimaryPad()==m_iPad);
|
||||
bool bDisplayBanTip = !g_NetworkManager.IsLocalGame() && !bIsisPrimaryHost && !ProfileManager.IsGuest(m_iPad);
|
||||
@@ -428,7 +430,9 @@ HRESULT UIScene_PauseMenu::OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHandle
|
||||
|
||||
ui.AnimateKeyPress(pInputData->UserIndex, pInputData->dwKeyCode);
|
||||
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
app.DebugPrintf("PAUSE- Keydown in the xui %d flags = %d\n",pInputData->dwKeyCode,pInputData->dwFlags);
|
||||
#endif
|
||||
|
||||
|
||||
switch(pInputData->dwKeyCode)
|
||||
@@ -437,7 +441,9 @@ HRESULT UIScene_PauseMenu::OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHandle
|
||||
case VK_PAD_B:
|
||||
case VK_PAD_START:
|
||||
case VK_ESCAPE:
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
app.DebugPrintf("PAUSE PRESS PROCESSING - ipad = %d, UIScene_PauseMenu::OnKeyDown - LEAVING PAUSE MENU\n",m_iPad);
|
||||
#endif
|
||||
|
||||
if( m_iPad == ProfileManager.GetPrimaryPad() && g_NetworkManager.IsLocalGame() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user