The International Simutrans Forum


Author Topic: Patch: Use logger to output messages during sound loading/initialisation  (Read 1570 times)

0 Members and 1 Guest are viewing this topic.

Offline ACarlotti

  • *
  • Posts: 483
At the moment, sdl_[mixer_] use printfs, despite the logger being intended to replace this, resulting in the anomaly of messages about loading sounds forming the majority of stdout with default logging. The patch replaces these printfs with calls to the logger.

I have tested this on Extended but not on Standard; however, I believe this code in Extended was identical to Standard. This is commit b3acce73 in Extended (though not yet incorporated by James).

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4869
  • Languages: EN, DE, AT
thank you! incorporated in r8412