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:
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)
|
void errorLog(const std::string &s)
|
||||||
{
|
{
|
||||||
|
fputs(s.c_str(), stderr); fputc('\n', stderr);
|
||||||
if (core)
|
if (core)
|
||||||
{
|
{
|
||||||
core->errorLog(s);
|
core->errorLog(s);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue