who forgot to update this?

This commit is contained in:
Mohamed Ashraf 2026-03-04 16:21:24 +04:00
parent 8a0b10f799
commit 884b55a199
2 changed files with 1 additions and 43 deletions

View file

@ -2452,6 +2452,7 @@ set(ALL_FILES
${net__minecraft__server__level}
${net__minecraft__server__network}
${net__minecraft__stats}
Linux/Linux_UIController.cpp
)
################################################################################

View file

@ -241,7 +241,6 @@ void CMinecraftApp::DebugPrintf(const char *szFormat, ...)
void CMinecraftApp::DebugPrintf(int user, const char *szFormat, ...)
{
#ifndef _FINAL_BUILD
if(user == USER_NONE)
return;
char buf[1024];
@ -249,48 +248,6 @@ void CMinecraftApp::DebugPrintf(int user, const char *szFormat, ...)
va_start(ap, szFormat);
vsnprintf(buf, sizeof(buf), szFormat, ap);
va_end(ap);
#ifdef __PS3__
unsigned int writelen;
sys_tty_write(SYS_TTYP_USER1 + ( user - 1 ), buf, strlen(buf), &writelen );
#elif defined __PSVITA__
switch(user)
{
case 0:
{
SceUID tty2 = sceIoOpen("tty2:", SCE_O_WRONLY, 0);
if(tty2>=0)
{
std::string string1(buf);
sceIoWrite(tty2, string1.c_str(), string1.length());
sceIoClose(tty2);
}
}
break;
case 1:
{
SceUID tty3 = sceIoOpen("tty3:", SCE_O_WRONLY, 0);
if(tty3>=0)
{
std::string string1(buf);
sceIoWrite(tty3, string1.c_str(), string1.length());
sceIoClose(tty3);
}
}
break;
default:
OutputDebugStringA(buf);
break;
}
#else
OutputDebugStringA(buf);
#endif
#ifndef _XBOX
if(user == USER_UI)
{
ui.logDebugString(buf);
}
#endif
#endif
}
LPCWSTR CMinecraftApp::GetString(int iID)