Overhaul to console structure, a bit

This commit is contained in:
iikorni
2026-08-30 00:50:23 -05:00
parent de75b014b3
commit 216dd1aecd
70 changed files with 2081 additions and 2260 deletions
+3 -3
View File
@@ -109,7 +109,7 @@ static bool S_MIKMOD_CodecInitialize (void)
MikMod_RegisterAllLoaders();
if (S_MIKMOD_initlib(NULL))
{
Con_DPrintf("Could not initialize MikMod: %s\n", MikMod_strerror(MikMod_errno));
console::debug("Could not initialize MikMod: %s\n", MikMod_strerror(MikMod_errno));
return false;
}
@@ -145,7 +145,7 @@ static bool S_MIKMOD_CodecOpenStream (snd_stream_t *stream)
priv->module = Player_LoadGeneric((MREADER *)stream->priv, 64, 0);
if (!priv->module)
{
Con_DPrintf("Could not load module: %s\n", MikMod_strerror(MikMod_errno));
console::debug("Could not load module: %s\n", MikMod_strerror(MikMod_errno));
Z_Free(stream->priv);
return false;
}
@@ -166,7 +166,7 @@ static bool S_MIKMOD_CodecOpenStream (snd_stream_t *stream)
stream->info.bits = (md_mode & DMODE_16BITS)? 16: 8;
stream->info.width = stream->info.bits / 8;
stream->info.channels = (md_mode & DMODE_STEREO)? 2 : 1;
/* Con_DPrintf("Playing %s (%d chn)\n", priv->module->songname, priv->module->numchn);*/
/* console::debug("Playing %s (%d chn)\n", priv->module->songname, priv->module->numchn);*/
return true;
}