diff --git a/source/plugin/plugin.cpp b/source/plugin/plugin.cpp index bc18ec44..b6eb5946 100644 --- a/source/plugin/plugin.cpp +++ b/source/plugin/plugin.cpp @@ -19,6 +19,7 @@ static const string emptyString; static const string emptyString2("/"); static char* emptyChar = (char*)" "; +u32 ScummVM_magic; void Plugin::init(string m_pluginsDir) { diff --git a/source/plugin/plugin.hpp b/source/plugin/plugin.hpp index 19767b22..5537a5d6 100644 --- a/source/plugin/plugin.hpp +++ b/source/plugin/plugin.hpp @@ -43,21 +43,19 @@ public: void SetEnablePlugin(Config &cfg, u8 pos, u8 ForceMode = 0); vector GetEnabledPlugins(Config &cfg); bool UseReturnLoader(u32 magic); + bool isScummVM(u32 magic); bool isMplayerCE(u32 magic); vector CreateMplayerCEArguments(const char *src); void init(string); void Cleanup(); void EndAdd(); vector ParseScummvmINI(Config &ini, string Device); - bool isScummVM(u32 magic); private: s8 GetPluginPosition(u32 magic); - vector Plugins; s8 Plugin_Pos; string pluginsDir; - u32 ScummVM_magic; bool adding; }; #endif