Shorten error messages in ROM launcher, to fix overflow of buffer width.

This commit is contained in:
Stephen Anthony 2020-05-24 16:08:24 -02:30
parent c622e1f109
commit ce3c9b9e8a
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ string OSystem::createConsole(const FilesystemNode& rom, const string& md5sum,
}
catch(const runtime_error& e)
{
buf << "ERROR: Couldn't create console (" << e.what() << ")";
buf << "ERROR: " << e.what();
Logger::error(buf.str());
return buf.str();
}