[Sys] Reduce debugging noise.
This commit is contained in:
parent
8c95e66277
commit
ebe72af716
3 changed files with 11 additions and 3 deletions
|
|
@ -3,6 +3,8 @@
|
|||
#include <glacier/memory/move.h>
|
||||
#include <mammoth/util/debug.h>
|
||||
|
||||
#define PSF_DEBUG 0
|
||||
|
||||
namespace {
|
||||
|
||||
const uint32_t kMagic = 0x864AB572;
|
||||
|
|
@ -16,6 +18,7 @@ Psf::Psf(glcr::StringView path)
|
|||
}
|
||||
|
||||
void Psf::DumpHeader() {
|
||||
#if PSF_DEBUG
|
||||
dbgln("Magic: {x}", header_->magic);
|
||||
dbgln("Version: {x}", header_->version);
|
||||
dbgln("Header Sz: {x}", header_->headersize);
|
||||
|
|
@ -24,6 +27,7 @@ void Psf::DumpHeader() {
|
|||
dbgln("Glyph Size: {x}", header_->bytesperglyph);
|
||||
dbgln("Height: {x}", header_->height);
|
||||
dbgln("Width: {x}", header_->width);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Psf::EnsureValid() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue