mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 20:21:06 +00:00
XEEN: Register debug channels on startup
This commit is contained in:
parent
1879aeae57
commit
d5f290dbc7
@ -297,7 +297,7 @@ int AdlibMusicDriver::songCommand(uint commandId, byte volume) {
|
||||
|
||||
void AdlibMusicDriver::write(int reg, int val) {
|
||||
_queue.push(RegisterValue(reg, val));
|
||||
debugC(9, kDebugSound, "%.2x %2x", reg, val);
|
||||
debugC(9, kDebugSound, "%.2x %.2x", reg, val);
|
||||
}
|
||||
|
||||
void AdlibMusicDriver::flush() {
|
||||
|
@ -36,6 +36,12 @@ namespace Xeen {
|
||||
|
||||
XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc)
|
||||
: Engine(syst), _gameDescription(gameDesc), _randomSource("Xeen") {
|
||||
// Set up debug channels
|
||||
DebugMan.addDebugChannel(kDebugPath, "Path", "Pathfinding debug level");
|
||||
DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts");
|
||||
DebugMan.addDebugChannel(kDebugGraphics, "graphics", "Graphics handling");
|
||||
DebugMan.addDebugChannel(kDebugSound, "sound", "Sound processing");
|
||||
|
||||
_combat = nullptr;
|
||||
_debugger = nullptr;
|
||||
_events = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user