mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
ADL: move debug channels to metaEngineDetection
This commit is contained in:
parent
24e7c01c19
commit
0cfdf7bb6e
@ -102,7 +102,6 @@ AdlEngine::AdlEngine(OSystem *syst, const AdlGameDescription *gd) :
|
||||
_canRestoreNow(false) {
|
||||
|
||||
_random = new Common::RandomSource("adl");
|
||||
DebugMan.addDebugChannel(kDebugChannelScript, "Script", "Trace script execution");
|
||||
}
|
||||
|
||||
bool AdlEngine::pollEvent(Common::Event &event) const {
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "adl/detection.h"
|
||||
#include "adl/disk.h"
|
||||
#include "adl/disk_image_helpers.h"
|
||||
#include "adl/adl.h"
|
||||
|
||||
namespace Adl {
|
||||
|
||||
@ -41,6 +42,11 @@ namespace Adl {
|
||||
#define GAMEOPTION_NTSC GUIO_GAMEOPTIONS4
|
||||
#define GAMEOPTION_MONO_TEXT GUIO_GAMEOPTIONS5
|
||||
|
||||
static const DebugChannelDef debugFlagList[] = {
|
||||
{Adl::kDebugChannelScript, "Script", "Trace script execution"},
|
||||
DEBUG_CHANNEL_END
|
||||
};
|
||||
|
||||
static const ADExtraGuiOptionsMap optionsList[] = {
|
||||
{
|
||||
GAMEOPTION_NTSC,
|
||||
@ -338,6 +344,10 @@ public:
|
||||
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;
|
||||
|
||||
bool addFileProps(const FileMap &allFiles, Common::String fname, FilePropertiesMap &filePropsMap) const;
|
||||
|
Loading…
Reference in New Issue
Block a user