1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 22:44:32 +00:00

try harder to display early errors (eg. before SDL init)

This commit is contained in:
fgenesis 2022-04-07 03:12:21 +02:00
parent d34a962e78
commit a97b1bbd5c

View file

@ -268,6 +268,7 @@ bool chance(int perc)
void errorLog(const std::string &s) void errorLog(const std::string &s)
{ {
fputs(s.c_str(), stderr); fputc('\n', stderr);
if (core) if (core)
{ {
core->errorLog(s); core->errorLog(s);