mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 08:55:45 +00:00
PINK: Allow running from original media
This commit is contained in:
parent
bb8a64d22d
commit
e9d1fa0c61
@ -32,10 +32,18 @@ static const PlainGameDescriptor pinkGames[] = {
|
||||
|
||||
#include "detection_tables.h"
|
||||
|
||||
static const char *directoryGlobs[] = {
|
||||
"install",
|
||||
nullptr
|
||||
};
|
||||
|
||||
|
||||
class PinkMetaEngine : public AdvancedMetaEngine {
|
||||
public:
|
||||
PinkMetaEngine() : AdvancedMetaEngine(Pink::gameDescriptions, sizeof(ADGameDescription), pinkGames) {
|
||||
_gameIds = pinkGames;
|
||||
_maxScanDepth = 2;
|
||||
_directoryGlobs = directoryGlobs;
|
||||
}
|
||||
|
||||
virtual const char *getName() const {
|
||||
|
@ -49,6 +49,9 @@ Pink::PinkEngine::PinkEngine(OSystem *system, const ADGameDescription *desc)
|
||||
DebugMan.addDebugChannel(kPinkDebugLoadingResources, "loading_resources", "Loading resources data");
|
||||
DebugMan.addDebugChannel(kPinkDebugGraphics, "graphics", "Graphics handling");
|
||||
DebugMan.addDebugChannel(kPinkDebugSound, "sound", "Sound processing");
|
||||
|
||||
const Common::FSNode gameDataDir(ConfMan.get("path"));
|
||||
SearchMan.addSubDirectoryMatching(gameDataDir, "install");
|
||||
}
|
||||
|
||||
Pink::PinkEngine::~PinkEngine() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user