stdout error stuff
This commit is contained in:
parent
2b41566727
commit
2d4a32d89d
@ -427,6 +427,8 @@ namespace Components
|
|||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
perror(buffer);
|
perror(buffer);
|
||||||
|
|
||||||
|
ExitProcess(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
Console::Console()
|
Console::Console()
|
||||||
|
@ -128,7 +128,7 @@ namespace Components
|
|||||||
|
|
||||||
if (type == Game::XAssetType::ASSET_TYPE_INVALID || type >= Game::XAssetType::ASSET_TYPE_COUNT)
|
if (type == Game::XAssetType::ASSET_TYPE_INVALID || type >= Game::XAssetType::ASSET_TYPE_COUNT)
|
||||||
{
|
{
|
||||||
Logger::Print("Error: Invalid asset type '%s'\n", typeName.data());
|
Logger::Error("Error: Invalid asset type '%s'\n", typeName.data());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ namespace Components
|
|||||||
|
|
||||||
if (!assetHeader.data)
|
if (!assetHeader.data)
|
||||||
{
|
{
|
||||||
Logger::Print("Error: Missing asset '%s' of type '%s'\n", name.data(), Game::DB_GetXAssetTypeName(type));
|
Logger::Error("Error: Missing asset '%s' of type '%s'\n", name.data(), Game::DB_GetXAssetTypeName(type));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user