mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
MYST3: move debug channels to metaEngineDetection
This commit is contained in:
parent
ad62915be3
commit
37e313bada
@ -24,6 +24,7 @@
|
||||
|
||||
#include "engines/advancedDetector.h"
|
||||
#include "engines/myst3/detection.h"
|
||||
#include "engines/myst3/myst3.h"
|
||||
|
||||
|
||||
namespace Myst3 {
|
||||
@ -33,6 +34,14 @@ static const PlainGameDescriptor myst3Games[] = {
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
static const DebugChannelDef debugFlagList[] = {
|
||||
{Myst3::kDebugVariable, "Variable", "Track Variable Accesses"},
|
||||
{Myst3::kDebugSaveLoad, "SaveLoad", "Track Save/Load Function"},
|
||||
{Myst3::kDebugScript, "Script", "Track Script Execution"},
|
||||
{Myst3::kDebugNode, "Node", "Track Node Changes"},
|
||||
DEBUG_CHANNEL_END
|
||||
};
|
||||
|
||||
static const char *directoryGlobs[] = {
|
||||
"bin",
|
||||
"M3Data",
|
||||
@ -208,6 +217,10 @@ public:
|
||||
const char *getOriginalCopyright() const override {
|
||||
return "Myst III Exile (C) Presto Studios";
|
||||
}
|
||||
|
||||
const DebugChannelDef *getDebugChannels() const override {
|
||||
return debugFlagList;
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace Myst3
|
||||
|
@ -77,10 +77,6 @@ Myst3Engine::Myst3Engine(OSystem *syst, const Myst3GameDescription *version) :
|
||||
_backgroundSoundScriptLastRoomId(0),
|
||||
_backgroundSoundScriptLastAgeId(0),
|
||||
_transition(0), _frameLimiter(0), _inventoryManualHide(false) {
|
||||
DebugMan.addDebugChannel(kDebugVariable, "Variable", "Track Variable Accesses");
|
||||
DebugMan.addDebugChannel(kDebugSaveLoad, "SaveLoad", "Track Save/Load Function");
|
||||
DebugMan.addDebugChannel(kDebugScript, "Script", "Track Script Execution");
|
||||
DebugMan.addDebugChannel(kDebugNode, "Node", "Track Node Changes");
|
||||
|
||||
// Add subdirectories to the search path to allow running from a full HDD install
|
||||
const Common::FSNode gameDataDir(ConfMan.get("path"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user