libretro / nxengine-libretro

Port of NxEngine to the libretro API. NXEngine is a Cave Story game engine clone
85 stars 89 forks source link

Log cleanup #47

Closed ehmry closed 6 years ago

ehmry commented 6 years ago

This patch should have little or no effect with the standard build flags, but when compiling without NDEBUG or RELEASE_BUILD the logging is hard to untangle, and in some case, excessive to the point of a noticeable loss in performance. This patch adds a NX_DBG call for the really trivial messages, and should replace any noticeable calls to printf to the log callback.