mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-26 02:07:26 +00:00
try harder to display early errors (eg. before SDL init)
This commit is contained in:
parent
d34a962e78
commit
a97b1bbd5c
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ bool chance(int perc)
|
|||
|
||||
void errorLog(const std::string &s)
|
||||
{
|
||||
fputs(s.c_str(), stderr); fputc('\n', stderr);
|
||||
if (core)
|
||||
{
|
||||
core->errorLog(s);
|
||||
|
|
Loading…
Reference in a new issue