mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
DREAMWEB: move debug channels to metaEngineDetection
This commit is contained in:
parent
467c6594a2
commit
d987e1a6b1
@ -29,12 +29,19 @@
|
||||
#include "engines/advancedDetector.h"
|
||||
|
||||
#include "dreamweb/detection.h"
|
||||
#include "dreamweb/dreamweb.h"
|
||||
|
||||
static const PlainGameDescriptor dreamWebGames[] = {
|
||||
{ "dreamweb", "DreamWeb" },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
static const DebugChannelDef debugFlagList[] = {
|
||||
{DreamWeb::kDebugAnimation, "Animation", "Animation Debug Flag"},
|
||||
{DreamWeb::kDebugSaveLoad, "SaveLoad", "Track Save/Load Function"},
|
||||
DEBUG_CHANNEL_END
|
||||
};
|
||||
|
||||
#include "dreamweb/detection_tables.h"
|
||||
|
||||
static const ADExtraGuiOptionsMap gameGuiOptions[] = {
|
||||
@ -81,6 +88,10 @@ public:
|
||||
const char *getOriginalCopyright() const override {
|
||||
return "DreamWeb (C) Creative Reality";
|
||||
}
|
||||
|
||||
const DebugChannelDef *getDebugChannels() const override {
|
||||
return debugFlagList;
|
||||
}
|
||||
};
|
||||
|
||||
REGISTER_PLUGIN_STATIC(DREAMWEB_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, DreamWebMetaEngineDetection);
|
||||
|
@ -46,9 +46,6 @@ DreamWebEngine::DreamWebEngine(OSystem *syst, const DreamWebGameDescription *gam
|
||||
_roomDesc(kNumRoomTexts), _freeDesc(kNumFreeTexts),
|
||||
_personText(kNumPersonTexts) {
|
||||
|
||||
DebugMan.addDebugChannel(kDebugAnimation, "Animation", "Animation Debug Flag");
|
||||
DebugMan.addDebugChannel(kDebugSaveLoad, "SaveLoad", "Track Save/Load Function");
|
||||
|
||||
_vSyncPrevTick = 0;
|
||||
_sound = 0;
|
||||
_speed = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user