back to RGB4, better logging

This commit is contained in:
milek7
2018-08-02 22:27:28 +02:00
parent 97cf5cbb60
commit d7c7305906
5 changed files with 26 additions and 8 deletions

View File

@@ -119,6 +119,14 @@ void ErrorLog( const char *str, logtype const Type ) {
errors.flush();
};
void LogsFlush()
{
if (output.is_open())
output.flush();
if (errors.is_open())
errors.flush();
}
void Error(const std::string &asMessage, bool box)
{
// if (box)