ADL: move debug channels to metaEngineDetection
This commit is contained in:
parent
24e7c01c19
commit
0cfdf7bb6e
2 changed files with 10 additions and 1 deletions
|
@ -102,7 +102,6 @@ AdlEngine::AdlEngine(OSystem *syst, const AdlGameDescription *gd) :
|
||||||
_canRestoreNow(false) {
|
_canRestoreNow(false) {
|
||||||
|
|
||||||
_random = new Common::RandomSource("adl");
|
_random = new Common::RandomSource("adl");
|
||||||
DebugMan.addDebugChannel(kDebugChannelScript, "Script", "Trace script execution");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AdlEngine::pollEvent(Common::Event &event) const {
|
bool AdlEngine::pollEvent(Common::Event &event) const {
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include "adl/detection.h"
|
#include "adl/detection.h"
|
||||||
#include "adl/disk.h"
|
#include "adl/disk.h"
|
||||||
#include "adl/disk_image_helpers.h"
|
#include "adl/disk_image_helpers.h"
|
||||||
|
#include "adl/adl.h"
|
||||||
|
|
||||||
namespace Adl {
|
namespace Adl {
|
||||||
|
|
||||||
|
@ -41,6 +42,11 @@ namespace Adl {
|
||||||
#define GAMEOPTION_NTSC GUIO_GAMEOPTIONS4
|
#define GAMEOPTION_NTSC GUIO_GAMEOPTIONS4
|
||||||
#define GAMEOPTION_MONO_TEXT GUIO_GAMEOPTIONS5
|
#define GAMEOPTION_MONO_TEXT GUIO_GAMEOPTIONS5
|
||||||
|
|
||||||
|
static const DebugChannelDef debugFlagList[] = {
|
||||||
|
{Adl::kDebugChannelScript, "Script", "Trace script execution"},
|
||||||
|
DEBUG_CHANNEL_END
|
||||||
|
};
|
||||||
|
|
||||||
static const ADExtraGuiOptionsMap optionsList[] = {
|
static const ADExtraGuiOptionsMap optionsList[] = {
|
||||||
{
|
{
|
||||||
GAMEOPTION_NTSC,
|
GAMEOPTION_NTSC,
|
||||||
|
@ -338,6 +344,10 @@ public:
|
||||||
return "Copyright (C) Sierra On-Line";
|
return "Copyright (C) Sierra On-Line";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const DebugChannelDef *getDebugChannels() const override {
|
||||||
|
return debugFlagList;
|
||||||
|
}
|
||||||
|
|
||||||
ADDetectedGames detectGame(const Common::FSNode &parent, const FileMap &allFiles, Common::Language language, Common::Platform platform, const Common::String &extra) const override;
|
ADDetectedGames detectGame(const Common::FSNode &parent, const FileMap &allFiles, Common::Language language, Common::Platform platform, const Common::String &extra) const override;
|
||||||
|
|
||||||
bool addFileProps(const FileMap &allFiles, Common::String fname, FilePropertiesMap &filePropsMap) const;
|
bool addFileProps(const FileMap &allFiles, Common::String fname, FilePropertiesMap &filePropsMap) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue